Source: libconfig
Version: 1.4.9-2
Severity: wishlist
Tags: patch

Hi,

currently the libconfig documentation is already split in an own
arch:all package, although it is built every time, even when doing
arch-only builds (i.e. to produce only arch:any).

Making use of the custom overrides that debhelper in compat >= 9
offers, the documentation build can be split in an own -indep target,
demoting the latex build dependency at build-depend-indep.

Patch attached for it.

Thanks,
-- 
Pino
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,8 @@ Source: libconfig
 Priority: optional
 Maintainer: Jonathan McCrohan <jmccro...@gmail.com>
 Uploaders: Jose Luis Tallon <jltal...@adv-solutions.net>
-Build-Depends: debhelper (>= 9), dh-autoreconf, texinfo, texlive-latex-base
+Build-Depends: debhelper (>= 9), dh-autoreconf, texinfo
+Build-Depends-Indep: texlive-latex-base
 Standards-Version: 3.9.5
 Homepage: http://www.hyperrealm.com/libconfig/
 Section: libs
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,8 @@
 # Uncomment this to turn on verbose mode.
 # # export DH_VERBOSE=1
 
-override_dh_auto_build:
+override_dh_auto_build-indep:
 	$(MAKE) -C doc pdf
-	dh_auto_build
 
 override_dh_strip:
 	dh_strip -p libconfig9 --dbg-package=libconfig-dbg

Reply via email to