1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-25 10:32:19 +03:00

Properly install the man page when using a custom prefix

This commit is contained in:
Frank LENORMAND 2016-02-04 11:53:41 +02:00
parent 80f7a350e4
commit 9d6d2b767f

View File

@ -38,7 +38,7 @@ NCURSESW_INCLUDE ?= /usr/include/ncursesw
bindir := $(DESTDIR)$(PREFIX)/bin
sharedir := $(DESTDIR)$(PREFIX)/share/kak
docdir := $(DESTDIR)$(PREFIX)/share/doc/kak
mandir := $(DESTDIR)$(PREFIX)/man/man1
mandir := $(DESTDIR)$(PREFIX)/share/man/man1
os := $(shell uname)
@ -112,6 +112,7 @@ install: kak man doc
mkdir -p $(sharedir)/colors
install -m 0644 ../colors/* $(sharedir)/colors
mkdir -p $(docdir)/manpages
mkdir -p $(mandir)
install -m 0644 ../README.asciidoc $(docdir)
install -m 0644 ../doc/manpages/*.gz $(docdir)/manpages
install -m 0644 ../doc/kakoune.1.gz $(mandir)