From b24bfb382d1d54ab4e6756d50009c5bc021287fc Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Fri, 7 Sep 2012 10:50:52 +0200 Subject: [PATCH] Remove man pages in clean if rst2man is available. Closes: #250. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 4854565..99628a7 100644 --- a/Makefile +++ b/Makefile @@ -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