Add maintainer-clean makefile target
authorGeoff Levand <geoffrey.levand@am.sony.com>
Fri, 27 Feb 2009 14:54:00 +0000 (14:54 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 23 Mar 2009 10:48:01 +0000 (21:48 +1100)
Add a maintainer-clean makefile target that cleans all the
generated files.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
rules.mk

index 1ffcef3b24d63b079c4c422d82b5442a49753425..403a388e585c39995d5fea16058bf4a84da272cf 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -98,3 +98,14 @@ clean:
        rm -f discover/pb-discover
        rm -f ui/test/pb-test
 
+maintainer-clean: clean
+       -rm -f $(top_srcdir)/aclocal.m4
+       -rm -rf $(top_srcdir)/autom4te.cache
+       -rm -f $(top_srcdir)/config.h.in
+       -rm -f $(top_srcdir)/configure
+       -rm -f config.h
+       -rm -f config.log
+       -rm -f config.status
+       -rm -f Makefile
+       -rm -f $(PACKAGE)-$(VERSION).tar.gz
+