[antlr3] 07/17: debian/rules: Changed the bnd command to work with any upstream version
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Jul 22 16:58:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository antlr3.
commit 3c07f9c1d6235be881ca1eb635ab92a2340e633f
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Jul 21 20:37:40 2015 +0200
debian/rules: Changed the bnd command to work with any upstream version
---
debian/changelog | 1 +
debian/rules | 8 ++++----
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 108af59..8486442 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ antlr3 (3.5.2-1) UNRELEASED; urgency=medium
- Ignore the new modules: antlr-complete, antlr3-maven-archetype
- Added a dependency on libstringtemplate4-java
- Refreshed debian/generated-sources
+ * debian/rules: Changed the bnd command to work with any upstream version
* debian/watch: Watch the release tags on Github
* Use XZ compression for the upstream tarball
diff --git a/debian/rules b/debian/rules
index 88e5f63..04703cd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,10 +28,10 @@ before-mvn-build:: unpatch-poms
common-post-build-indep::
# Generate OSGi metadata
- bnd wrap -properties debian/antlr3.bnd -output tool/target/antlr-[0-9].[0-9].jar \
- tool/target/antlr-[0-9].[0-9].jar
- bnd wrap -properties debian/antlr3-runtime.bnd -output runtime/Java/target/antlr-runtime-[0-9].[0-9].jar \
- runtime/Java/target/antlr-runtime-[0-9].[0-9].jar
+ bnd wrap -properties debian/antlr3.bnd -output tool/target/antlr-$(VERSION).jar \
+ tool/target/antlr-$(VERSION).jar
+ bnd wrap -properties debian/antlr3-runtime.bnd -output runtime/Java/target/antlr-runtime-$(VERSION).jar \
+ runtime/Java/target/antlr-runtime-$(VERSION).jar
binary-post-install/antlr3::
mh_linkrepojar -pantlr3 runtime/Java/pom.xml /usr/share/java/antlr3-runtime.jar
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/antlr3.git
More information about the pkg-java-commits
mailing list