[pkg-java] r3648 - trunk/modello/debian

paulcager-guest at alioth.debian.org paulcager-guest at alioth.debian.org
Thu Jun 14 12:39:27 UTC 2007


Author: paulcager-guest
Date: 2007-06-14 12:39:27 +0000 (Thu, 14 Jun 2007)
New Revision: 3648

Modified:
   trunk/modello/debian/build.properties
   trunk/modello/debian/rules
Log:
Added javadoc build

Modified: trunk/modello/debian/build.properties
===================================================================
--- trunk/modello/debian/build.properties	2007-06-14 12:38:34 UTC (rev 3647)
+++ trunk/modello/debian/build.properties	2007-06-14 12:39:27 UTC (rev 3648)
@@ -7,3 +7,4 @@
            ${basedir}/modello-plugins/modello-plugin-xml/build/modello-plugin-xml-${version}.jar:\
            /usr/share/java/commons-lang.jar
 classpath.test=
+javadoc.dir=build/javadoc

Modified: trunk/modello/debian/rules
===================================================================
--- trunk/modello/debian/rules	2007-06-14 12:38:34 UTC (rev 3647)
+++ trunk/modello/debian/rules	2007-06-14 12:39:27 UTC (rev 3648)
@@ -36,4 +36,6 @@
 	dh_link -plib$(PACKAGE)-java usr/share/java/$(PACKAGE)-plugin-xpp3-$(VERSION).jar usr/share/java/$(PACKAGE)-plugin-xpp3.jar
 
 binary-post-install/lib$(PACKAGE)-java-doc::
-	dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/lib$(PACKAGE)-java
+	# maven-ant-helper puts the javadocs in build/javadocs. Policy requires directory to be named "api"
+	mv $(API_DOCS) build/api
+	dh_install -plib$(PACKAGE)-java-doc build/api usr/share/doc/lib$(PACKAGE)-java




More information about the pkg-java-commits mailing list