tag 442765 patch
thanks

Hi,

Please find attached patch to fix this bug (wput: FTBFS if built twice
in a row).

-- 
 Cheers,
 -----------------------------------------------------------
 Kartik Mistry  || GPG: 0xD1028C8D || IRC: kart_
 kartikmistry.org/blog || kartikm.wordpress.com
 ----------------------------------------------------------
--- wput-0.6-orig/debian/rules	2007-09-19 17:03:47.000000000 +0530
+++ wput-0.6/debian/rules	2007-09-19 17:24:42.000000000 +0530
@@ -45,10 +45,9 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 
-	rm -f $(CURDIR)/config.status
 
 	# Add here commands to clean up after the build process.
-	-$(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) clean
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
 	cp -f /usr/share/misc/config.sub config.sub
 endif
@@ -57,7 +56,7 @@
 endif
 
 
-	dh_clean 
+	dh_clean src/*.o doc/wput.1.gz wput
 
 install: build
 	dh_testdir

Reply via email to