/[debian]/libpdfbox-java/trunk/debian/rules
ViewVC logotype

Contents of /libpdfbox-java/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2476 - (show annotations)
Mon Mar 28 03:18:36 2011 UTC (10 years ago) by tmancill
File size: 1585 byte(s)
add libfontbox-java-doc and libjempbox-java-doc packages
1 #!/usr/bin/make -f
2 #
3 # debian/rules
4 # 20100806/tm convert to javahelper
5
6 export JAVA_HOME=/usr/lib/jvm/default-java
7 export CLASSPATH=/usr/share/java/lucene2.jar:/usr/share/java/bcmail.jar:/usr/share/java/bcprov.jar:/usr/share/java/checkstyle.jar:/usr/share/java/junit4.jar:/usr/share/java/commons-logging.jar:/usr/share/java/icu4j.jar:/usr/share/java/commons-beanutils.jar
8
9 UVERSION=$(shell dpkg-parsechangelog | perl -ne 'print "$$1-dev" if m/Version: (?:\d:)?([\d.]+)(?:\+dfsg)?-\d+/')
10
11 %:
12 dh $@ --buildsystem ant
13
14 override_dh_auto_clean:
15 dh_auto_clean -- -buildfile pdfbox/build.xml
16
17 override_dh_auto_configure:
18 # replace what we delete in repacking. never used ...
19 find /usr/share/fonts/cmap/ -type f | xargs cp -n -t pdfbox/src/main/resources/org/apache/pdfbox/resources/cmap/
20 dh_auto_configure
21
22 override_dh_auto_build:
23 # work around downloading adobe file
24 mkdir -p pdfbox/target/classes/org/apache/pdfbox/resources/cmap
25 cp pdfbox/src/main/resources/org/apache/pdfbox/resources/cmap/* pdfbox/target/classes/org/apache/pdfbox/resources/cmap/
26 mkdir -p pdfbox/target/classes/org/apache/pdfbox/resources/afm
27 cp /usr/share/htmldoc/fonts/*.afm pdfbox/target/classes/org/apache/pdfbox/resources/afm/
28 cp /usr/share/lcdf-typetools/glyphlist.txt pdfbox/target/classes/org/apache/pdfbox/resources
29
30 dh_auto_build -- -buildfile pdfbox/build.xml pdfbox.package fontbox.package jempbox.package pdfbox.javadoc fontbox.javadoc jempbox.javadoc
31
32 override_dh_installchangelogs:
33 dh_installchangelogs $(CURDIR)/RELEASE-NOTES.txt
34
35 get-orig-source:
36 uscan --force-download --repack --rename

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26