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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2476 - (hide 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 gregoa 437 #!/usr/bin/make -f
2 tmancill 2232 #
3     # debian/rules
4     # 20100806/tm convert to javahelper
5 gregoa 437
6 gregoa 1962 export JAVA_HOME=/usr/lib/jvm/default-java
7 gregoa 2468 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 gregoa 437
9 gregoa 2241 UVERSION=$(shell dpkg-parsechangelog | perl -ne 'print "$$1-dev" if m/Version: (?:\d:)?([\d.]+)(?:\+dfsg)?-\d+/')
10    
11 gregoa 1962 %:
12 gregoa 2468 dh $@ --buildsystem ant
13 gregoa 437
14 gregoa 2468 override_dh_auto_clean:
15     dh_auto_clean -- -buildfile pdfbox/build.xml
16    
17 gregoa 1962 override_dh_auto_configure:
18 gregoa 2472 # replace what we delete in repacking. never used ...
19 gregoa 2460 find /usr/share/fonts/cmap/ -type f | xargs cp -n -t pdfbox/src/main/resources/org/apache/pdfbox/resources/cmap/
20 gregoa 1962 dh_auto_configure
21 gregoa 437
22 gregoa 1962 override_dh_auto_build:
23 gregoa 2472 # 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 gregoa 2475 cp /usr/share/lcdf-typetools/glyphlist.txt pdfbox/target/classes/org/apache/pdfbox/resources
29 gregoa 2472
30 tmancill 2476 dh_auto_build -- -buildfile pdfbox/build.xml pdfbox.package fontbox.package jempbox.package pdfbox.javadoc fontbox.javadoc jempbox.javadoc
31 gregoa 437
32 gregoa 1970 override_dh_installchangelogs:
33 gregoa 2467 dh_installchangelogs $(CURDIR)/RELEASE-NOTES.txt
34 gregoa 1970
35 gregoa 1962 get-orig-source:
36 gregoa 1965 uscan --force-download --repack --rename

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26