[med-svn] [artemis] 01/13: Add manifest file for the jars
Afif Elghraoui
afif-guest at moszumanska.debian.org
Fri Oct 23 06:10:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch master
in repository artemis.
commit ed96894353cc7126f1d4b784aef2e7666884f56c
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Thu Oct 22 17:53:02 2015 -0700
Add manifest file for the jars
---
debian/artemis.manifest.in | 16 ++++++++++++++++
debian/rules | 6 ++++++
2 files changed, 22 insertions(+)
diff --git a/debian/artemis.manifest.in b/debian/artemis.manifest.in
new file mode 100644
index 0000000..6af15d5
--- /dev/null
+++ b/debian/artemis.manifest.in
@@ -0,0 +1,16 @@
+/usr/share/java/artemis.jar:
+ Class-Path: @CLASSPATH@
+ Main-Class: uk.ac.sanger.artemis.components.ArtemisMain
+ Permissions: all-permissions
+/usr/share/java/act.jar:
+ Class-Path: @CLASSPATH@
+ Main-Class: uk.ac.sanger.artemis.components.ActMain
+ Permissions: all-permissions
+/usr/share/java/BamView.jar:
+ Class-Path: @CLASSPATH@
+ Main-Class: uk.ac.sanger.artemis.components.alignment.BamView
+ Permissions: all-permissions
+/usr/share/java/DNAPlotter.jar:
+ Class-Path: @CLASSPATH@
+ Main-Class: uk.ac.sanger.artemis.circular.DNADraw
+ Permissions: all-permissions
diff --git a/debian/rules b/debian/rules
index ca4bb67..07d95e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,3 +37,9 @@ export CLASSPATH := $(subst $(space),:,$(strip $(CLASSPATH)))
override_dh_auto_build:
$(MAKE) jar
+ sed 's|@CLASSPATH@|$(subst :,$(space),$(subst $(CURDIR),/usr/share/java/artemis.jar,$(CLASSPATH)))|g' debian/artemis.manifest.in > \
+ debian/artemis.manifest
+
+override_dh_auto_clean:
+ dh_auto_clean
+ $(RM) debian/artemis.manifest
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/artemis.git
More information about the debian-med-commit
mailing list