[pdfsam] 11/36: install most files
Markus Koschany
apo at moszumanska.debian.org
Tue Feb 21 04:20:14 UTC 2017
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository pdfsam.
commit aadd219591c0fe024a6336d19de8efb9b09fc280
Author: Torsten Werner <twerner at debian.org>
Date: Fri Aug 29 19:41:05 2008 +0000
install most files
---
debian/ant.properties | 2 ++
debian/install | 13 +++++++++++++
debian/rules | 7 ++++++-
3 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/debian/ant.properties b/debian/ant.properties
index 5852947..4d6d25b 100644
--- a/debian/ant.properties
+++ b/debian/ant.properties
@@ -3,3 +3,5 @@ libs.dir=/usr/share/java
log4j.jar.name=log4j-1.2
dom4j.jar.name=dom4j
jaxen.jar.name=jaxen
+itext.jar.name=itext
+looks.jar.name=looks
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..c4199e0
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,13 @@
+build/emp4j/dist/*.jar /usr/share/pdfsam/lib/
+build/jcmdline/dist/*.jar /usr/share/pdfsam/lib/
+build/pdfsam-console-br1/dist/*.jar /usr/share/pdfsam/lib/
+build/pdfsam-langpack/dist/*.jar /usr/share/pdfsam/lib/
+
+build/pdfsam-maine-br1/dist/*.jar /usr/share/pdfsam/
+template-basic-1/config.xml /usr/share/pdfsam/
+
+build/pdfsam-merge/dist/*.jar /usr/share/pdfsam/plugins/merge/
+template-basic-1/plugins/merge/config.xml /usr/share/pdfsam/plugins/merge/
+
+build/pdfsam-split/dist/*.jar /usr/share/pdfsam/plugins/split/
+template-basic-1/plugins/split/config.xml /usr/share/pdfsam/plugins/split/
diff --git a/debian/rules b/debian/rules
index 69f7499..065454d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,9 +6,14 @@ include /usr/share/cdbs/1/rules/patchsys-quilt.mk
JAVA_HOME := /usr/lib/jvm/default-java
DEB_ANT_BUILDFILE := debian/build.xml
-DEB_JARS := itext jaxen log4j-1.2
+DEB_JARS := dom4j itext jaxen log4j-1.2 looks
DEB_ANT_BUILD_TARGET := -Dbuild.dir=$(CURDIR)/build
DEB_CLASSPATH := $(DEB_CLASSPATH):$(CURDIR)/build/jcmdline/build:$(CURDIR)/build/emp4j/build:$(CURDIR)/build/pdfsam-console-br1/build:$(CURDIR)/build/pdfsam-langpack/build:$(CURDIR)/build/pdfsam-maine-br1/build:
+install/pdfsam::
+ for JAR in $(DEB_JARS); do \
+ dh_link /usr/share/java/$$JAR.jar /usr/share/pdfsam/lib/$$JAR.jar; \
+ done
+
get-orig-source:
-uscan --upstream-version 0 --rename
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/pdfsam.git
More information about the pkg-java-commits
mailing list