[jasmin-sable] 06/08: Install jasmin-sable-$(VERSION).jar in /usr/share/java
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Mar 29 17:17:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository jasmin-sable.
commit bb6f591855702a76ee692751822ab87afa9ef001
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Mar 29 19:06:28 2016 +0200
Install jasmin-sable-$(VERSION).jar in /usr/share/java
---
debian/changelog | 1 +
debian/rules | 8 ++++----
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 5cf50a0..98fa7cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ jasmin-sable (2.5.0-1) UNRELEASED; urgency=medium
- Set the build properties
- Removed the deprecated compile.optimize parameter
- No longer call 'ant clean' twice
+ - Install jasmin-sable-$(VERSION).jar in /usr/share/java
* Standards-Version updated to 3.9.7 (no changes)
* Use a secure Vcs-Git URL
diff --git a/debian/rules b/debian/rules
index 6ac2a8c..d1428cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,13 +8,13 @@ VERSION := $(shell dpkg-parsechangelog --show-field Version | sed 's/-[^-]*$$//'
override_dh_auto_build:
mkdir -p classes
ant -Djava_cup.jar=/usr/share/java/cup.jar -Drelease.loc=lib -Djasmin.version=$(VERSION) build_parser jasmin-jar
+ mv lib/jasminclasses-$(VERSION).jar lib/jasmin-sable-$(VERSION).jar
override_dh_auto_clean:
dh_auto_clean
rm -rf lib/*.jar
override_dh_auto_install:
- cp -v lib/jasminclasses-*.jar debian/jasmin-sable/usr/share/java
- cd debian/jasmin-sable/usr/share/java/; ln -v -s *.jar jasmin-sable.jar
- cp -v bin/jasmin debian/jasmin-sable/usr/bin
- dh_auto_install
+ dh_install -pjasmin-sable bin/jasmin /usr/bin
+ dh_install -pjasmin-sable lib/jasmin-sable-*.jar /usr/share/java
+ dh_link -pjasmin-sable /usr/share/java/jasmin-sable-$(VERSION).jar /usr/share/java/jasmin-sable.jar
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jasmin-sable.git
More information about the pkg-java-commits
mailing list