Here is an updated patch that cleans up the leftover makefiles as well.

Thanks,

Barry deFreese

diff -u conglomerate-0.9.1/debian/rules conglomerate-0.9.1/debian/rules
--- conglomerate-0.9.1/debian/rules
+++ conglomerate-0.9.1/debian/rules
@@ -74,11 +74,16 @@
 	rm -f build-arch-stamp build-indep-stamp
 
 	# Commands to clean up after the build process.
-	-$(MAKE) distclean ; cd src ; $(MAKE) distclean
+	[ ! -f src/Makefile ] || $(MAKE) -C src/ distclean
+	[ ! -f Makefile ] || $(MAKE) distclean
 	rm -f doc/C/conglomerate-C.omf.out
 	rm -f intltool-extract intltool-merge intltool-update
 	rm -f po/.intltool-merge-cache
 	rm -f conglomerate
+	rm -f src/conglomerate-dbg
+	rm -f Makefilee
+	rm -f doc/Makefilee 
+	rm -f doc/reference/Makefile
 
 	dh_clean
 
diff -u conglomerate-0.9.1/debian/changelog conglomerate-0.9.1/debian/changelog
--- conglomerate-0.9.1/debian/changelog
+++ conglomerate-0.9.1/debian/changelog
@@ -1,3 +1,10 @@
+conglomerate (0.9.1-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix clean to build twice in a row. (Closes: #424158, #442519).
+
+ -- Barry deFreese <[EMAIL PROTECTED]>  Tue, 01 Apr 2008 23:21:17 -0400
+
 conglomerate (0.9.1-3) unstable; urgency=low
 
   * When determining upstream version, allow + and ~; fixes uninstallability,

Reply via email to