-- 
Steve McIntyre, Cambridge, UK.                                [email protected]
You raise the blade, you make the change... You re-arrange me 'til I'm sane...
diff -Nru dvi2ps-5.1j/debian/changelog dvi2ps-5.1j/debian/changelog
--- dvi2ps-5.1j/debian/changelog        2014-04-25 17:34:48.000000000 +0000
+++ dvi2ps-5.1j/debian/changelog        2014-10-14 21:40:23.000000000 +0000
@@ -1,3 +1,12 @@
+dvi2ps (5.1j-1.2) unstable; urgency=medium
+
+  * NMU
+  * use autotools-dev to update config.{sub,guess} for new arches.
+    Closes: #749012. Thanks to Logan Rosen for the patch.
+  * Add simple debian build rules for build-arch and build-indep.
+
+ -- Steve McIntyre <[email protected]>  Tue, 14 Oct 2014 22:16:18 +0100
+
 dvi2ps (5.1j-1.1) unstable; urgency=medium
 
   * Non-maintainer upload to fix FTBFS.
diff -Nru dvi2ps-5.1j/debian/control dvi2ps-5.1j/debian/control
--- dvi2ps-5.1j/debian/control  2012-04-30 09:49:23.000000000 +0000
+++ dvi2ps-5.1j/debian/control  2014-10-14 21:40:23.000000000 +0000
@@ -2,7 +2,7 @@
 Section: tex
 Priority: optional
 Maintainer: OHURA Makoto <[email protected]>
-Build-Depends: debhelper (>= 5.0.0), nkf, libkpathsea-dev, vflib3-dev, 
libfreetype6-dev
+Build-Depends: debhelper (>= 5.0.0), nkf, libkpathsea-dev, vflib3-dev, 
libfreetype6-dev, autotools-dev
 Standards-Version: 3.8.4
 
 Package: dvi2ps
diff -Nru dvi2ps-5.1j/debian/rules dvi2ps-5.1j/debian/rules
--- dvi2ps-5.1j/debian/rules    2012-04-30 11:20:54.000000000 +0000
+++ dvi2ps-5.1j/debian/rules    2014-10-14 21:40:23.000000000 +0000
@@ -26,12 +26,15 @@
 configure: configure-stamp
 configure-stamp:
        dh_testdir
+       dh_autotools-dev_updateconfig
        # Add here commands to configure the package.
        ./configure --prefix=/usr --with-dvi2pslib=/usr/lib/dvi2ps
 
        touch configure-stamp
 
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 
 build-stamp: configure-stamp 
        dh_testdir
@@ -56,6 +59,7 @@
        [ ! -f Makefile ] || $(MAKE) clean
        -(cd tools ; $(MAKE) -f ../debian/Makefile.tools clean)
 
+       dh_autotools-dev_restoreconfig
        dh_clean
 
 install: build

Reply via email to