Source: m4
Version: 1.4.17-2
Severity: wishlist
Tags: patch

For the purposes of bootstrapping, it would be nice to be able to
build m4 without texinfo installed, as m4 is much easier to bootstrap
than texinfo is.  The attached patch implements this.

(Note that there's also a dependency cycle that m4 Build-Depends on
libsigsegv-dev, which Build-Depends on autoconf, which Depends on m4.
But the autoconf script seems to handle building without libsigsegv
automatically with no further changes needed.)
-- 
Daniel Schepler
diff -urN m4-1.4.17.old/debian/control m4-1.4.17/debian/control
--- m4-1.4.17.old/debian/control        2013-10-12 04:52:54.000000000 -0700
+++ m4-1.4.17/debian/control    2014-02-06 17:01:36.463733266 -0800
@@ -3,7 +3,8 @@
 Priority: standard
 Maintainer: Santiago Vila <sanv...@debian.org>
 Standards-Version: 3.9.4
-Build-Depends: debhelper (>= 9.20120311), texinfo, libsigsegv-dev
+Build-Depends: debhelper (>= 9.20120311), libsigsegv-dev
+Build-Depends-Indep: texinfo
 Homepage: http://www.gnu.org/software/m4/
 
 Package: m4
diff -urN m4-1.4.17.old/debian/rules m4-1.4.17/debian/rules
--- m4-1.4.17.old/debian/rules  2013-12-01 04:53:30.000000000 -0800
+++ m4-1.4.17/debian/rules      2014-02-06 17:02:22.316712792 -0800
@@ -14,7 +14,9 @@
 override_dh_auto_configure:
        dh_auto_configure -- --disable-rpath
 
-override_dh_installdocs:
+override_dh_installdocs-indep:
        cd doc && makeinfo --html $(package).texi
        dh_installdocs -i doc/$(package)/*.html
+
+override_dh_installdocs-arch:
        dh_installdocs -a NEWS README TODO THANKS

Reply via email to