From 9bba683578006ca7a17cb929f16eef58b68a3e08 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 17 Dec 2012 13:39:53 +0100 Subject: [PATCH] doc/Makefile: add docclean rule This allows to clean the doc directory from the parent project dir. The command: make -C doc clean does not work as long as the paths specified in doc/Makefile are relative to the parent dir. Also it is consitent with "testclean" and "distclean" targets. --- doc/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index e85e53b3da..b6ed791dc4 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -93,6 +93,8 @@ uninstall: uninstall-man uninstall-man: $(RM) $(addprefix "$(MANDIR)/man1/",$(ALLMANPAGES)) +docclean: clean + clean:: $(RM) $(TXTPAGES) doc/*.html doc/*.pod doc/*.1 doc/*.3 $(CLEANSUFFIXES:%=doc/%) doc/avoptions_*.texi $(RM) -r doc/doxy/html