[Demudi-commits] r490 - horgand/trunk/debian

Free Ekanayaka free-guest@costa.debian.org
Wed, 23 Mar 2005 14:11:28 +0100


Author: free-guest
Date: 2005-03-23 14:11:27 +0100 (Wed, 23 Mar 2005)
New Revision: 490

Modified:
   horgand/trunk/debian/changelog
   horgand/trunk/debian/rules
Log:
horgand:   
 * Clean config.guess, config.sub after build

Modified: horgand/trunk/debian/changelog
===================================================================
--- horgand/trunk/debian/changelog	2005-03-23 13:09:16 UTC (rev 489)
+++ horgand/trunk/debian/changelog	2005-03-23 13:11:27 UTC (rev 490)
@@ -4,8 +4,9 @@
   * Bug fix: "horgand: Typos in control file", thanks to Justin Pryzby
     (Closes: #290955).
   * New upstream release v1.7 (closes: #300305, #273826)
+  * Clean config.guess, config.sub after build
 
- -- Free Ekanayaka <free@agnula.org>  Wed, 23 Mar 2005 14:08:17 +0100
+ -- Free Ekanayaka <free@agnula.org>  Wed, 23 Mar 2005 14:11:20 +0100
 
 horgand (1.06-1) unstable; urgency=low
 

Modified: horgand/trunk/debian/rules
===================================================================
--- horgand/trunk/debian/rules	2005-03-23 13:09:16 UTC (rev 489)
+++ horgand/trunk/debian/rules	2005-03-23 13:11:27 UTC (rev 490)
@@ -33,6 +33,11 @@
 build-stamp:  config.status patch
 	dh_testdir
 
+	-test -r /usr/share/misc/config.sub && \
+	  cp -f /usr/share/misc/config.sub config.sub
+	-test -r /usr/share/misc/config.guess && \
+	  cp -f /usr/share/misc/config.guess config.guess
+
 	# Add here commands to compile the package.
 	$(MAKE)
 
@@ -47,12 +52,9 @@
 
 	# Add here commands to clean up after the build process.
 	-$(MAKE) distclean
-	-test -r /usr/share/misc/config.sub && \
-	  cp -f /usr/share/misc/config.sub config.sub
-	-test -r /usr/share/misc/config.guess && \
-	  cp -f /usr/share/misc/config.guess config.guess
+	-rm config.guess
+	-rm config.sub
 
-
 	dh_clean
 
 install: build