tags 442767 + patch
thanks

Hi!

Please find attached a patch to fix this bug. There is a flaw though;
make clean also runs configure for some reason; it is in the upstream
Makefile. I did not touch that.

HTH.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
--- xcircuit-3.6.78.dfsg/debian/rules
+++ xcircuit-3.6.78.dfsg/debian/rules
@@ -21,7 +21,13 @@
 
 config.status: configure patch
 	dh_testdir
-	
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
 	# Some touch-fu
 	touch --time=mtime -r configure.in Makefile.am
 	touch --time=mtime -r configure.in Makefile.in
@@ -51,17 +57,12 @@
 clean: unpatch
 	dh_testdir
 	dh_testroot
+	-$(MAKE) clean
 	-rm -f build-stamp 
 	-rm -f xcircuit.1 menudep.h config.log asg/Makefile spiceparser/Makefile
 	
 	-$(MAKE) distclean
-
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
+	rm -f config.guess config.sub
 	dh_clean 
 
 install: build

Attachment: signature.asc
Description: Digital signature

Reply via email to