mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:16:00 +01:00
Install manpages correctly
Thanks to Αριστοτέλης Πανάρας <spiritual.dragon.of.ra@gmail.com> for noticing.
This commit is contained in:
parent
a3e37660f5
commit
e1673cb4a6
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -167,11 +167,11 @@ build-manpages:
|
||||||
install-manpages: build-manpages
|
install-manpages: build-manpages
|
||||||
$(call colorecho,INSTALL,"man pages")
|
$(call colorecho,INSTALL,"man pages")
|
||||||
$(QUIET)mkdir -m 755 -p ${DESTDIR}${MANPREFIX}/man1 ${DESTDIR}${MANPREFIX}/man5
|
$(QUIET)mkdir -m 755 -p ${DESTDIR}${MANPREFIX}/man1 ${DESTDIR}${MANPREFIX}/man5
|
||||||
ifneq "$(wildcard ./doc/_build/man/${PROJECT}.1)" ""
|
ifneq "$(wildcard doc/_build/${PROJECT}.1)" ""
|
||||||
$(QUIET)install -m 644 ./doc/_build/man/${PROJECT}.1 ${DESTDIR}${MANPREFIX}/man1
|
$(QUIET)install -m 644 doc/_build/${PROJECT}.1 ${DESTDIR}${MANPREFIX}/man1
|
||||||
endif
|
endif
|
||||||
ifneq "$(wildcard ./doc/_build/man/${PROJECT}rc.5)" ""
|
ifneq "$(wildcard doc/_build/${PROJECT}rc.5)" ""
|
||||||
$(QUIET)install -m 644 ./doc/_build/man/${PROJECT}rc.5 ${DESTDIR}${MANPREFIX}/man5
|
$(QUIET)install -m 644 doc/_build/${PROJECT}rc.5 ${DESTDIR}${MANPREFIX}/man5
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install-headers: ${PROJECT}.pc
|
install-headers: ${PROJECT}.pc
|
||||||
|
|
Loading…
Reference in a new issue