Bug#738332: ijs: Patch to bootstrap without ghostscript
Source: ijs
Version: 0.35-8
Severity: wishlist
Tags: patch
The attached patch adds the ability to do a bootstrap build of ijs without its
docs, in order to resolve the circular Build-Depends of ijs and ghostscript on
each other.
--
Daniel Schepler
diff -urN ijs-0.35.old/debian/rules ijs-0.35/debian/rules
--- ijs-0.35.old/debian/rules 2011-08-29 13:25:41.000000000 -0700
+++ ijs-0.35/debian/rules 2013-06-05 11:11:04.354489887 -0700
@@ -30,11 +30,16 @@
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(ijs_spec\.pdf|debian/(changelog|copyright(|_hints|_newhints)))$
DEB_CONFIGURE_EXTRA_FLAGS += --enable-shared
-DEB_MAKE_BUILD_TARGET = all doc
+DEB_MAKE_BUILD_TARGET = all
+ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
+DEB_MAKE_BUILD_TARGET += doc
+endif
DEB_DH_MAKESHLIBS_ARGS_$(libpkgname) = -V'$(libpkgname) (>= $(DEB_UPSTREAM_VERSION))'
+ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
DEB_INSTALL_DOCS_libijs-dev += ijs_spec.pdf
+endif
# put aside upstream-shipped temp files during build but after copyright-check
upstreamtmpfiles = ltmain.sh configure aclocal.m4 Makefile.in ijs_spec.pdf
Reply to: