[xml/sgml-commit] r2119 - in /packages/epubcheck/trunk/debian: control epubcheck.jlibs rules

malat at users.alioth.debian.org malat at users.alioth.debian.org
Tue Dec 18 13:00:35 UTC 2012


Author: malat
Date: Tue Dec 18 13:00:34 2012
New Revision: 2119

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=2119
Log:
Make it compile

Added:
    packages/epubcheck/trunk/debian/epubcheck.jlibs
Modified:
    packages/epubcheck/trunk/debian/control
    packages/epubcheck/trunk/debian/rules

Modified: packages/epubcheck/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/epubcheck/trunk/debian/control?rev=2119&op=diff
==============================================================================
--- packages/epubcheck/trunk/debian/control (original)
+++ packages/epubcheck/trunk/debian/control Tue Dec 18 13:00:34 2012
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs at lists.alioth.debian.org>
 Uploaders: Mathieu Malaterre <malat at debian.org>
-Build-Depends: debhelper (>= 9), javahelper, default-jdk
+Build-Depends: debhelper (>= 9), javahelper, default-jdk, ant, libjing-java
 #Build-Depends-Indep: 
 Standards-Version: 3.9.3
 Section: text

Added: packages/epubcheck/trunk/debian/epubcheck.jlibs
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/epubcheck/trunk/debian/epubcheck.jlibs?rev=2119&op=file
==============================================================================
--- packages/epubcheck/trunk/debian/epubcheck.jlibs (added)
+++ packages/epubcheck/trunk/debian/epubcheck.jlibs Tue Dec 18 13:00:34 2012
@@ -1,0 +1,1 @@
+dist/epubcheck-1.2.jar

Modified: packages/epubcheck/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/epubcheck/trunk/debian/rules?rev=2119&op=diff
==============================================================================
--- packages/epubcheck/trunk/debian/rules (original)
+++ packages/epubcheck/trunk/debian/rules Tue Dec 18 13:00:34 2012
@@ -1,8 +1,24 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
+
+JAVA_HOME=/usr/lib/jvm/default-java
+export CLASSPATH=/usr/share/java/jing.jar
 
 %:
 	dh $@ --with javahelper
 
+override_dh_auto_configure:
+	-mkdir lib
+	dh_auto_configure -- buildJar
+
+# Target "clean" does not exist in the project "null". 
+#override_dh_auto_clean:
+
+override_dh_clean:
+	#dh_clean dist/epubcheck-src-1.2.zip
+	#dh_clean dist/epubcheck-1.2.zip
+	#dh_clean dist/epubcheck-1.2.jar
+	find . -name *.class -delete
+
 get-orig-source:
 	uscan --verbose --force-download --rename --repack




More information about the debian-xml-sgml-commit mailing list