[Pkg-bazaar-commits] r50 ./bzr/unstable: Clean up the clean target, making two builds in a row work.

Adeodato Simó dato at net.com.org.es
Sat Dec 1 10:55:19 UTC 2007


------------------------------------------------------------
revno: 50
tags: 1.0~rc1-2
committer: Adeodato Simó <dato at net.com.org.es>
branch nick: unstable
timestamp: Sat 2007-12-01 11:55:19 +0100
message:
  Clean up the clean target, making two builds in a row work.
modified:
  changelog
  rules
-------------- next part --------------
=== modified file 'changelog'
--- a/changelog	2007-12-01 10:27:36 +0000
+++ b/changelog	2007-12-01 10:55:19 +0000
@@ -2,7 +2,11 @@
 
   * Install images that come with the documentation.
 
- -- Adeodato Simó <dato at net.com.org.es>  Sat, 01 Dec 2007 11:24:08 +0100
+  * Remove unnecessary stuff from the clean target in debian/rules, and
+    invoke $(MAKE) clean-docs from there so that building twice in a row
+    works.
+
+ -- Adeodato Simó <dato at net.com.org.es>  Sat, 01 Dec 2007 11:42:50 +0100
 
 bzr (1.0~rc1-1) unstable; urgency=low
 

=== modified file 'rules'
--- a/rules	2007-12-01 10:27:36 +0000
+++ b/rules	2007-12-01 10:55:19 +0000
@@ -11,12 +11,8 @@
 DEB_COMPRESS_EXCLUDE += .svg
 
 clean::
-	-rm -rf build test*.tmp doc/bzr_man.txt
-	find doc -name "*.html" -print0 | xargs -r0 rm -f
-	find . -name "*.pyc" -print0 | xargs -r0 rm -f
-	rm -f bzr.1 man1/bzr.1
-	rm -f debian/stamp-doc
-	rm -f .bzr.log
+	$(MAKE) clean-docs
+	rm -f bzr.1 debian/stamp-doc
 
 ifneq (,$(findstring test,$(DEB_BUILD_OPTIONS)))
 common-post-build-indep::



More information about the Pkg-bazaar-commits mailing list