[libjna-java] 03/03: Updated the path of the artifacts in debian/rules
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Oct 15 15:42:12 BST 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libjna-java.
commit 47df18a7cd78b38730f227984c20225782ceba7e
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Oct 15 16:39:58 2014 +0200
Updated the path of the artifacts in debian/rules
---
debian/rules | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 7e4f127..b5caf8c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
dh $@
override_dh_auto_clean:
- ant -f build.xml -Dmaven-release=true clean
+ ant -f build.xml clean
rm -f build.number
rm -rf build doc
rm -rf contrib/platform/build
@@ -28,6 +28,7 @@ override_dh_auto_build:
-Djni.md5="" \
-Djar.compress=true \
-Dmaven-release=true \
+ -Dbuild-native=true \
jar javadoc contrib-jars native
# install. using platform.jar is a silly idea in /usr/share/java/ as it's bound to collide
@@ -35,10 +36,10 @@ override_dh_auto_install:
mh_installpom -plibjna-java -e$(VERSION) pom-jna.xml
mh_installjar -plibjna-java -e$(VERSION) --java-lib --usj-name=jna pom-jna.xml build/jna.jar
- mh_installpom -plibjna-platform-java -e$(VERSION) pom-jna.xml
- mh_installjar -plibjna-platform-java -e$(VERSION) --java-lib --usj-name=jna-platform pom-platform.xml contrib/platform/dist/platform.jar
+ mh_installpom -plibjna-platform-java -e$(VERSION) pom-jna-platform.xml
+ mh_installjar -plibjna-platform-java -e$(VERSION) --java-lib --usj-name=jna-platform pom-jna-platform.xml contrib/platform/dist/jna-platform.jar
- dh_install -plibjna-jni build/native/libjnidispatch.so usr/lib/$(DEB_HOST_MULTIARCH)/jni
+ dh_install -plibjna-jni build/native*/libjnidispatch.so usr/lib/$(DEB_HOST_MULTIARCH)/jni
override_dh_makeshlibs:
# don't call dh_makeshlibs
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjna-java.git
More information about the pkg-java-commits
mailing list