From fe318e143b6fcbdec65fde4cc60e32482230346b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Thu, 28 Nov 2013 13:56:08 +0100 Subject: [PATCH] build: split examples cleaning out of docclean. --- doc/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 9bd4d4e17a..ede5488e5e 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -147,9 +147,12 @@ clean:: docclean distclean:: docclean $(RM) doc/config.texi -docclean: +examplesclean: $(RM) $(ALL_DOC_EXAMPLES) - $(RM) $(CLEANSUFFIXES:%=doc/%) $(CLEANSUFFIXES:%=doc/examples/%) + $(RM) $(CLEANSUFFIXES:%=doc/examples/%) + +docclean: examplesclean + $(RM) $(CLEANSUFFIXES:%=doc/%) $(RM) $(TXTPAGES) doc/*.html doc/*.pod doc/*.1 doc/*.3 doc/avoptions_*.texi $(RM) -r doc/doxy/html