mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 04:56:00 +01:00
Don't fail install if there are no manpages.
This commit is contained in:
parent
9cacecaa5b
commit
e45cbfa885
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -145,8 +145,12 @@ endif
|
|||
install-manpages: build-manpages
|
||||
$(ECHO) installing manual pages
|
||||
$(QUIET)mkdir -p ${DESTDIR}${MANPREFIX}/man1 ${DESTDIR}${MANPREFIX}/man5
|
||||
ifneq "$(wildcard ${PROJECT}.1)" ""
|
||||
$(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
|
||||
endif
|
||||
|
||||
install-headers: ${PROJECT}.pc
|
||||
$(ECHO) installing header files
|
||||
|
|
Loading…
Reference in a new issue