changeset 53:98e8aa5bd236

using scripts from autotools-dev to ensure recent config.{sub,guess} backporters to lenny need to do this manually
author meillo@marmaro.de
date Fri, 25 Jun 2010 14:08:56 +0200
parents 4dababf86cfb
children 733f8e64de02
files control rules
diffstat 2 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/control	Fri Jun 25 11:53:09 2010 +0200
+++ b/control	Fri Jun 25 14:08:56 2010 +0200
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: markus schnalke <meillo@marmaro.de>
 Standards-Version: 3.8.4
-Build-Depends: debhelper (>= 7.2.3), liblockfile-dev, libglib2.0-dev, libident-dev
+Build-Depends: debhelper (>= 7.2.3), liblockfile-dev, libglib2.0-dev, libident-dev, autotools-dev (>= 20100122.1)
 Homepage: http://marmaro.de/prog/masqmail
 
 Package: masqmail
--- a/rules	Fri Jun 25 11:53:09 2010 +0200
+++ b/rules	Fri Jun 25 14:08:56 2010 +0200
@@ -18,6 +18,7 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 
 	# Add here commands to compile the package.
 	./configure $(confflags) \
@@ -43,13 +44,9 @@
 	# Add here commands to clean up after the build process.
 	[ ! -f Makefile ] || $(MAKE) clean
 	[ ! -f Makefile ] || $(MAKE) distclean
-	# see /usr/share/doc/autotools-dev/README.Debian.gz
-	-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 -f config.log
 
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build