Code

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 292c026fee37c2a15a8088dae2d19977c587b72a..6a4ad01eb9feec491004081e4c0f3b521aa13a2e 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 4be60df5141411f879f9c1da16bd462a5781a552..3075b45df41abb6757b7912307f7ebc3070e8309 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