Source: dejagnu
Version: 1.5-3
Severity: wishlist
Tags: patch

As the subject says: the attached patch allows for bootstrapping
dejagnu without its docs, which is significantly easier than patching
everything in the dependency chain of texlive-base, imagemagick,
ghostscript, transfig, etc. to bootstrap by skipping dejagnu tests.
-- 
Daniel Schepler
diff -urN dejagnu-1.5.old/debian/rules dejagnu-1.5/debian/rules
--- dejagnu-1.5.old/debian/rules        2011-07-13 16:40:50.000000000 -0700
+++ dejagnu-1.5/debian/rules    2014-02-07 13:43:54.059468662 -0800
@@ -15,7 +15,14 @@
 # untested command fails.
 SHELL += -e
 
+ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
 DEB_MAKE_BUILD_TARGET = all html dejagnu.pdf dejagnu.rtf dejagnu.ps
+else
+DEB_MAKE_BUILD_TARGET = all
+
+common-build-indep::
+       touch objdir/dejagnu.pdf objdir/dejagnu.ps objdir/dejagnu.rtf 
objdir/html
+endif
 
 # Do not compress the empty NEWS file in the example.
 DEB_COMPRESS_EXCLUDE += calc/NEWS

Reply via email to