[libwps] 02/03: Be explicit about not to build docs when doing an arch-dep only build

Mattia Rizzolo mattia at debian.org
Thu Sep 29 12:28:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository libwps.

commit 5dd9a66f0b5932a3bc6fbd4e11521165fd80f5c4
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Thu Sep 29 12:18:05 2016 +0000

    Be explicit about not to build docs when doing an arch-dep only build
---
 debian/rules | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index f4259c6..4e2167e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,18 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
+CONFIGURE_FLAGS := \
+	--enable-static \
+	--disable-werror \
+
+
 %:
 	dh $@
 
-# whether to build the docs or not will be automatically decided by the build
-# system whether there is doxygen available or not.
+# There apparently is no way to build *only* the docs, so do it completely.
+# A full build (-b) will run this override only, as will an arch-indep (-A) build.
 override_dh_auto_configure:
-	dh_auto_configure -- \
-		--enable-static \
-		--disable-werror \
+	dh_auto_configure --  $(CONFIGURE_FLAGS)
+
+override_dh_auto_configure-arch:
+	dh_auto_configure --  $(CONFIGURE_FLAGS) --without-docs

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libwps.git



More information about the Pkg-openoffice-commits mailing list