mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 00:33:48 +01:00
Don't fail install if there are no manpages.
This commit is contained in:
parent
9cacecaa5b
commit
e45cbfa885
4
Makefile
4
Makefile
@ -145,8 +145,12 @@ endif
|
|||||||
install-manpages: build-manpages
|
install-manpages: build-manpages
|
||||||
$(ECHO) installing manual pages
|
$(ECHO) installing manual pages
|
||||||
$(QUIET)mkdir -p ${DESTDIR}${MANPREFIX}/man1 ${DESTDIR}${MANPREFIX}/man5
|
$(QUIET)mkdir -p ${DESTDIR}${MANPREFIX}/man1 ${DESTDIR}${MANPREFIX}/man5
|
||||||
|
ifneq "$(wildcard ${PROJECT}.1)" ""
|
||||||
$(QUIET)install -m 644 ${PROJECT}.1 ${DESTDIR}${MANPREFIX}/man1
|
$(QUIET)install -m 644 ${PROJECT}.1 ${DESTDIR}${MANPREFIX}/man1
|
||||||
|
endif
|
||||||
|
ifneq "$(wildcard ${PROJECT}rc.5)" ""
|
||||||
$(QUIET)install -m 644 ${PROJECT}rc.5 ${DESTDIR}${MANPREFIX}/man5
|
$(QUIET)install -m 644 ${PROJECT}rc.5 ${DESTDIR}${MANPREFIX}/man5
|
||||||
|
endif
|
||||||
|
|
||||||
install-headers: ${PROJECT}.pc
|
install-headers: ${PROJECT}.pc
|
||||||
$(ECHO) installing header files
|
$(ECHO) installing header files
|
||||||
|
Loading…
Reference in New Issue
Block a user