[libnative-platform-java] 13/13: Separate arch-dependent and arch-indep build commands

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Wed Nov 2 10:08:07 UTC 2016


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

seamlik-guest pushed a commit to branch master
in repository libnative-platform-java.

commit 888aaad76a26a5686358e4937bf8f830733e9564
Author: Kai-Chung Yan (殷啟聰) <seamlikok at gmail.com>
Date:   Wed Nov 2 18:06:39 2016 +0800

    Separate arch-dependent and arch-indep build commands
---
 debian/rules | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6f657f3..2abe6e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,9 +12,11 @@ export DEB_LDFLAGS_MAINT_APPEND = -fPIC
 %:
 	dh $@ --buildsystem=gradle --with maven-repo-helper,javahelper
 
-override_dh_auto_build:
-	dh_auto_build -- assemble nativePlatformSharedLibrary nativePlatformCursesSharedLibrary \
-	                 --project-prop release -x :testApp:assemble
+override_dh_auto_build-arch:
+	dh_auto_build -- nativePlatformSharedLibrary nativePlatformCursesSharedLibrary --project-prop release
+
+override_dh_auto_build-indep:
+	dh_auto_build -- jar javadoc --project-prop release -x :testApp:jar -x :testApp:javadoc
 
 get-orig-source:
 	uscan --download-current-version --force-download --repack --compression xz
\ No newline at end of file

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



More information about the pkg-java-commits mailing list