mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-27 07:44:38 +01:00
Don't generate empty man pages by accident.
If rst2man fails for some reason we don't want to have empty man pages.
This commit is contained in:
parent
207f5e571d
commit
e5c25ee49b
1 changed files with 4 additions and 3 deletions
7
Makefile
7
Makefile
|
@ -78,8 +78,8 @@ clean:
|
|||
${DOBJECTS} ${PROJECT}-debug .depend ${PROJECT}.pc doc version.h \
|
||||
*gcda *gcno $(PROJECT).info gcov *.tmp \
|
||||
girara-version-check
|
||||
$(QUIET)make -C tests clean
|
||||
$(QUIET)make -C po clean
|
||||
$(QUIET)$(MAKE) -C tests clean
|
||||
$(QUIET)$(MAKE) -C po clean
|
||||
|
||||
${PROJECT}-debug: ${DOBJECTS}
|
||||
$(ECHO) CC -o $@
|
||||
|
@ -141,7 +141,8 @@ update-po:
|
|||
ifneq "$(wildcard ${RSTTOMAN})" ""
|
||||
%.1 %.5: config.mk
|
||||
$(QUIET)sed "s/VERSION/${VERSION}/g" < $@.rst > $@.tmp
|
||||
$(QUIET)${RSTTOMAN} $@.tmp > $@
|
||||
$(QUIET)${RSTTOMAN} $@.tmp > $@.out.tmp
|
||||
$(QUIET)mv $@.out.tmp $@
|
||||
$(QUIET)rm $@.tmp
|
||||
|
||||
${PROJECT}.1: ${PROJECT}.1.rst
|
||||
|
|
Loading…
Add table
Reference in a new issue