cleanup debian/rules

Andreas Metzler ametzler at downhill.at.eu.org
Wed Oct 18 18:20:01 UTC 2006


Hello,
if auto* is run at build time, some commands become unnecessary,
attached patch removes them, making debian/rules a lit bit more
readable.
cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde
-------------- next part --------------
Index: rules
===================================================================
--- rules	(Revision 67)
+++ rules	(Arbeitskopie)
@@ -69,16 +69,12 @@
 	dh_testroot
 	rm -f build-stamp 
 
-ifneq "$(wildcard config.sub.old)" ""
-	mv config.sub.old config/config.sub
-endif
-ifneq "$(wildcard config.guess.old)" ""
-	mv config.guess.old config/config.guess
-endif
 	-$(MAKE) distclean
-	-rm -f config.h config.log autom4ate.cache
+	-rm -f config.h config.log autom4ate.cache \
+		config/config.guess config/config.sub \
+		saslauthd/config/config.guess saslauthd/config/config.sub
 
-	dh_clean 
+	dh_clean
 
 ###
 # Configure the package.
@@ -87,17 +83,6 @@
 config.status: patch configure
 	dh_testdir
 
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	mv -f config/config.sub config.sub.old
-	cp -f /usr/share/misc/config.sub config/config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	mv -f config/config.guess config.guess.old
-	cp -f /usr/share/misc/config.guess config/config.guess
-endif
-
-	# Avoid problems with timestamp skew and autotools.
-	touch configure
 	$(AUTOTOOLS)
 	(cd saslauthd && $(AUTOTOOLS) && cd ..)
 	CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure \


More information about the Pkg-cyrus-sasl2-debian-devel mailing list