Rev 5762: (mbp) add 'make realclean' target (Jelmer Vernooij) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Apr 6 05:15:18 UTC 2011


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 5762 [merge]
revision-id: pqm at pqm.ubuntu.com-20110406051515-ln2yumigzkhz7oiu
parent: pqm at pqm.ubuntu.com-20110406040454-pqkw8sh6n4r3ffys
parent: jelmer at samba.org-20110405133620-gc9776q6tep1j5ca
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2011-04-06 05:15:15 +0000
message:
  (mbp) add 'make realclean' target (Jelmer Vernooij)
modified:
  Makefile                       Makefile-20050805140406-d96e3498bb61c5bb
=== modified file 'Makefile'
--- a/Makefile	2010-10-15 10:19:25 +0000
+++ b/Makefile	2011-04-05 13:36:20 +0000
@@ -28,7 +28,7 @@
 PLUGIN_TARGET=plugin-release
 PYTHON_BUILDFLAGS=
 
-.PHONY: all clean extensions pyflakes api-docs check-nodocs check
+.PHONY: all clean realclean extensions pyflakes api-docs check-nodocs check
 
 all: extensions
 
@@ -66,6 +66,11 @@
 	$(PYTHON) setup.py clean
 	-find . -name "*.pyc" -o -name "*.pyo" -o -name "*.so" | xargs rm -f
 
+realclean: clean
+	# Remove files which are autogenerated but included by the tarball.
+	rm -f bzrlib/*_pyx.c
+	rm -f bzrlib/_simple_set_pyx.h bzrlib/_simple_set_pyx_api.h
+
 # Build API documentation
 docfiles = bzr bzrlib
 api-docs:




More information about the bazaar-commits mailing list