rules: Use dh_autotools-dev* to update config.{sub,guess}. libmpdclient-2.9-1
authorSebastian Harl <sh@tokkee.org>
Sat, 23 Nov 2013 19:19:15 +0000 (20:19 +0100)
committerSebastian Harl <sh@tokkee.org>
Sat, 23 Nov 2013 19:19:15 +0000 (20:19 +0100)
Thanks to Matthias Klose for reporting and suggesting this.
Closes: #727416

debian/changelog
debian/rules

index 292c026..6a4ad01 100644 (file)
@@ -8,6 +8,8 @@ libmpdclient (2.9-1) UNRELEASED; urgency=low
   * debian/rules:
     - Split build target into build-arch and build-indep.
     - Use dpkg-buildflags to get CPPFLAGS and CFLAGS.
+    - Use dh_autotools-dev* to update config.{sub,guess}; thanks to Matthias
+      Klose for reporting and suggesting this (Closes: #727416).
   * debian/control:
     - Updated standards-version to 3.9.4.
 
index 4be60df..3075b45 100755 (executable)
@@ -29,6 +29,7 @@ endif
 
 config.status: configure
        dh_testdir
+       dh_autotools-dev_updateconfig
        
        ./configure \
                        --host=$(DEB_HOST_GNU_TYPE) \
@@ -57,6 +58,7 @@ clean:
        
        [ ! -f Makefile ] || $(MAKE) distclean
        
+       dh_autotools-dev_restoreconfig
        dh_clean
 
 install: build