Remove man pages in clean if rst2man is available.

Closes: #250.
This commit is contained in:
Sebastian Ramacher 2012-09-07 10:50:52 +02:00
parent e5c25ee49b
commit b24bfb382d

View File

@ -78,6 +78,9 @@ clean:
${DOBJECTS} ${PROJECT}-debug .depend ${PROJECT}.pc doc version.h \
*gcda *gcno $(PROJECT).info gcov *.tmp \
girara-version-check
ifneq "$(wildcard ${RSTTOMAN})" ""
$(QUIET)rm -f zathura.1 zathurarc.5
endif
$(QUIET)$(MAKE) -C tests clean
$(QUIET)$(MAKE) -C po clean