Patchwork [10/16] petitboot: Add maintainer-clean makefile target

login
register
mail settings
Submitter Geoff Levand
Date Feb. 28, 2009, 12:54 a.m.
Message ID <20090228005350.767531962@am.sony.com>
Download mbox | patch
Permalink /patch/23855/
State Accepted
Headers show

Comments

Geoff Levand - Feb. 28, 2009, 12:54 a.m.
Add a maintainer-clean makefile target that cleans all the
generated files.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
---
 rules.mk |   11 +++++++++++
 1 file changed, 11 insertions(+)

Patch

--- 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
+