Source: automake-1.14
Version: 1:1.14.1-2
Severity: wishlist
Tags: patch
As the subject says: the attached patch allows bootstrapping the
automake package without needing texinfo, which would be significantly
harder to bootstrap without automake available on its dependency
chain.
--
Daniel Schepler
diff -urN automake-1.14-1.14.old/debian/rules automake-1.14-1.14/debian/rules
--- automake-1.14-1.14.old/debian/rules 2013-08-18 19:28:45.000000000 -0700
+++ automake-1.14-1.14/debian/rules 2013-09-18 21:23:32.225885876 -0700
@@ -7,14 +7,25 @@
%:
dh $@
+ifeq ($(DEB_BUILD_PROFILE),stage1)
+MAKEINFO=true
+export MAKEINFO
+
+override_dh_auto_build:
+ touch doc/automake.info
+ dh_auto_build
+endif
+
override_dh_auto_install:
dh_auto_install --destdir=$(CURDIR)/debian/tmp
# remove automake's versions
rm -f $(CURDIR)/debian/tmp/usr/share/automake-$(version)/config.sub
rm -f \
$(CURDIR)/debian/tmp/usr/share/automake-$(version)/config.guess
+ifneq ($(DEB_BUILD_PROFILE),stage1)
# Rebuild the info files
cd $(infodir) && makeinfo automake.texi
+endif
override_dh_auto_clean:
[ -f Makefile ] && dh_auto_clean || true