[SCM] ecasound/master: Check for all build-depends-indep when building arch indep documentation
ghedo at users.alioth.debian.org
ghedo at users.alioth.debian.org
Wed May 23 10:54:59 UTC 2012
The following commit has been merged in the master branch:
commit 60e30432a4b2e41f5346f05a9872499750f3cbd1
Author: Alessandro Ghedini <al3xbio at gmail.com>
Date: Wed May 23 11:55:00 2012 +0200
Check for all build-depends-indep when building arch indep documentation
diff --git a/debian/rules b/debian/rules
index d837c01..d5378b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,6 @@
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
-CONFIGURE_FLAGS = --enable-pyecasound=python
-
ifneq ($(DEB_HOST_ARCH_OS),linux)
CONFIGURE_FLAGS += --disable-alsa
endif
@@ -14,9 +12,12 @@ endif
override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_FLAGS)
+BUILD_INDEP = ghostscript hevea python-docutils \
+ texlive-latex-extra texlive-latex-recommended
+
override_dh_auto_build:
dh_auto_build
-ifeq ($(shell dpkg-query -s python-docutils 1>/dev/null 2>&1 && echo yes),yes)
+ifeq ($(shell dpkg-query -s $(BUILD_INDEP) 1>/dev/null 2>&1 && echo yes),yes)
$(MAKE) docs
endif
--
ecasound packaging
More information about the pkg-multimedia-commits
mailing list