[libjogl2-java] 01/02: Don't build the binary doc package on slow arches

Gilles Filippini pini at debian.org
Tue Oct 13 21:48:40 UTC 2015


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

pini pushed a commit to branch master
in repository libjogl2-java.

commit 0559277cdad370b289dcd3a7a9f42ac105d8584d
Author: Gilles Filippini <pini at debian.org>
Date:   Tue Oct 13 23:42:13 2015 +0200

    Don't build the binary doc package on slow arches
    
    where we don't run javadoc.
---
 debian/changelog | 8 ++++++++
 debian/rules     | 5 ++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 97156da..fa2aa20 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libjogl2-java (2.3.2+dfsg-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * debian/rule: don't try to build the binary doc package on slow
+    arches where we don't run javadoc.
+
+ -- Gilles Filippini <pini at debian.org>  Tue, 13 Oct 2015 23:39:22 +0200
+
 libjogl2-java (2.3.2+dfsg-1) experimental; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 2202105..c7ddce9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,10 +17,13 @@ ifeq ($(DEB_HOST_ARCH),armhf)
 DEB_ANT_ARGS         += -DisAbiEabiGnuArmhf=true
 endif
 
-build-indep:
 # Disable the build of the help on slow archs. It takes forever (a few hours) 
+build-indep:
 ifneq (,$(findstring $(DEB_HOST_ARCH),$(ENABLE_BUILD_HELP_ARCHS)))
 	$(DEB_ANT_INVOKE) javadoc.all
+else
+# Exclude binary doc package from the build. See debhelper manpage.
+export DH_OPTIONS += -Nlibjogl2-java-doc
 endif
 
 common-install-prehook-indep::

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



More information about the pkg-java-commits mailing list