mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 21:22:00 +03:00
Properly install the man page when using a custom prefix
This commit is contained in:
parent
80f7a350e4
commit
9d6d2b767f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user