[pkg-java] r10281 - trunk/maven2-core/debian

Torsten Werner twerner at alioth.debian.org
Sat Sep 5 21:47:24 UTC 2009


Author: twerner
Date: 2009-09-05 21:47:24 +0000 (Sat, 05 Sep 2009)
New Revision: 10281

Removed:
   trunk/maven2-core/debian/libmaven2-core-java.docs
Modified:
   trunk/maven2-core/debian/rules
Log:
install API docs into the correct place


Deleted: trunk/maven2-core/debian/libmaven2-core-java.docs
===================================================================
--- trunk/maven2-core/debian/libmaven2-core-java.docs	2009-09-05 21:21:21 UTC (rev 10280)
+++ trunk/maven2-core/debian/libmaven2-core-java.docs	2009-09-05 21:47:24 UTC (rev 10281)
@@ -1 +0,0 @@
-build/docs/api

Modified: trunk/maven2-core/debian/rules
===================================================================
--- trunk/maven2-core/debian/rules	2009-09-05 21:21:21 UTC (rev 10280)
+++ trunk/maven2-core/debian/rules	2009-09-05 21:47:24 UTC (rev 10281)
@@ -12,7 +12,7 @@
 DEB_ANT_BUILD_TARGET := package javadoc
 DEB_ANT_BUILDFILE    := debian/build.xml
 DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -Dversion=$(VERSION) -DbuildVersion=$(BUILD_VERSION)
-API_DOCS             := build/doc/api
+API_DOCS             := build/docs/api
 BASE_MODULES         := maven-artifact-manager maven-artifact-test maven-artifact \
 			maven-compat maven-core maven-error-diagnostics maven-model maven-monitor \
 			maven-plugin-api maven-plugin-descriptor maven-plugin-parameter-documenter \
@@ -37,6 +37,9 @@
 	mh_installjar -plib$(PACKAGE)-java -l maven-script/maven-script-ant/pom.xml maven-script/maven-script-ant/build/maven-script-ant-$(VERSION).jar; 
 	mh_installjar -plib$(PACKAGE)-java -l maven-script/maven-script-beanshell/pom.xml maven-script/maven-script-beanshell/build/maven-script-beanshell-$(VERSION).jar; 
 
+binary-post-install/lib$(PACKAGE)-java-doc::
+	dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) /usr/share/doc/libmaven2-core-java/
+
 clean::
 	-rm -rf debian/tmp
 




More information about the pkg-java-commits mailing list