[jasmin-sable] 03/08: Set the build properties in debian/rules
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 ccd8130706a950628f2d932935012419538f1d75
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Mar 29 18:47:08 2016 +0200
Set the build properties in debian/rules
---
debian/changelog | 2 ++
debian/rules | 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 325a495..1f34589 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ jasmin-sable (2.5.0-1) UNRELEASED; urgency=medium
* New upstream release
- Refreshed the patches
+ * debian/rules:
+ - Set the build properties
* Standards-Version updated to 3.9.7 (no changes)
* Use a secure Vcs-Git URL
diff --git a/debian/rules b/debian/rules
index 9f9fef9..576e599 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,12 +6,14 @@ else
export ANT_OPTS=-Dcompile.debug=true -Dcompile.optimize=true
endif
+VERSION := $(shell dpkg-parsechangelog --show-field Version | sed 's/-[^-]*$$//')
+
%:
dh $@
override_dh_auto_build:
mkdir -p classes
- ant -Djava_cup.jar=/usr/share/java/cup.jar build_parser jasmin-jar
+ ant -Djava_cup.jar=/usr/share/java/cup.jar -Drelease.loc=lib -Djasmin.version=$(VERSION) build_parser jasmin-jar
override_dh_auto_clean:
ant clean
--
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