[closure-compiler] 01/03: restore Main attribute and classpath in manifest (#746625)
Tony Mancill
tmancill at moszumanska.debian.org
Sat May 3 05:28:35 UTC 2014
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository closure-compiler.
commit 02674dd0b0fbf49ca1757d55a92fcd9fa0a53500
Author: tony mancill <tmancill at debian.org>
Date: Thu May 1 21:49:37 2014 -0700
restore Main attribute and classpath in manifest (#746625)
---
debian/control | 3 ++-
debian/rules | 8 ++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 526d850..ceef4de 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,8 @@ Build-Depends:
libjarjar-java,
protobuf-compiler,
libmaven-ant-tasks-java,
- python-docutils
+ python-docutils,
+ javahelper (>= 0.25)
Build-Depends-Indep: default-jdk-doc, libmaven-javadoc-plugin-java
Standards-Version: 3.9.5
Vcs-Git: git://anonscm.debian.org/pkg-java/closure-compiler.git
diff --git a/debian/rules b/debian/rules
index 287263c..220fbce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,19 @@
JAVA_HOME := /usr/lib/jvm/default-java
RST2MAN = rst2man
+CP = "/usr/share/java/closure-compiler.jar /usr/share/java/args4j.jar /usr/share/java/guava.jar /usr/share/java/json.jar"
+
%:
dh $@ --with maven_repo_helper
override_dh_auto_build:
ant -propertyfile debian/ant.properties jar-nodeps javadoc
+
+ # update the manifest
+ jh_manifest --verbose \
+ --classpath $(CP) \
+ --main com.google.javascript.jscomp.CommandLineRunner \
+ build/closure-compiler-v20130227.jar
# build the manpage
$(RST2MAN) debian/closure-compiler.1.txt > debian/closure-compiler.1.tmp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/closure-compiler.git
More information about the pkg-java-commits
mailing list