build: Add message to target maintainer-clean.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 30 Aug 2014 18:21:09 +0000 (20:21 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 26 Oct 2014 12:15:54 +0000 (13:15 +0100)
Just to be consistent with clean and distclean. This also makes the
rm commands quiet.

Makefile.real

index 13933b7..ee77caf 100644 (file)
@@ -323,8 +323,9 @@ distclean: clean2 test-clean
        $(Q) rm -f GPATH GRTAGS GSYMS GTAGS
 
 maintainer-clean: distclean
-       rm -f *.tar.bz2 config.h configure config.h.in
-       rm -rf web_sync
+       @[ -z "$(Q)" ] || echo 'MAINTAINER-CLEAN'
+       $(Q) rm -f *.tar.bz2 config.h configure config.h.in
+       $(Q) rm -rf web_sync
 
 install: all man
        $(MKDIR_P) $(BINDIR) $(MANDIR)