[pkg-java] r11205 - trunk/javahelp2/debian

Gabriele Giacone gg0-guest at alioth.debian.org
Sat Dec 5 17:19:27 UTC 2009


Author: gg0-guest
Date: 2009-12-05 17:19:24 +0000 (Sat, 05 Dec 2009)
New Revision: 11205

Added:
   trunk/javahelp2/debian/pom.xml
Modified:
   trunk/javahelp2/debian/changelog
   trunk/javahelp2/debian/control
   trunk/javahelp2/debian/rules
Log:
Added Maven config and fixed clean target


Modified: trunk/javahelp2/debian/changelog
===================================================================
--- trunk/javahelp2/debian/changelog	2009-12-05 13:31:09 UTC (rev 11204)
+++ trunk/javahelp2/debian/changelog	2009-12-05 17:19:24 UTC (rev 11205)
@@ -1,3 +1,12 @@
+javahelp2 (2.0.05.ds1-3) unstable; urgency=low
+
+  [ Gabriele Giacone ]
+  * debian/control: Added maven-repo-helper to Build-Depends
+  * debian/rules: Maven configuration
+  * Added debian/pom.xml
+
+ -- Gabriele Giacone <1o5g4r8o at gmail.com>  Sat, 05 Dec 2009 16:31:06 +0100
+
 javahelp2 (2.0.05.ds1-2) unstable; urgency=low
 
   [ Varun Hiremath ]

Modified: trunk/javahelp2/debian/control
===================================================================
--- trunk/javahelp2/debian/control	2009-12-05 13:31:09 UTC (rev 11204)
+++ trunk/javahelp2/debian/control	2009-12-05 17:19:24 UTC (rev 11205)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Marek Slama <marek.slama at sun.com>, Varun Hiremath <varun at debian.org>
-Build-Depends: cdbs, debhelper (>= 5), quilt
+Build-Depends: cdbs, debhelper (>= 5), quilt, maven-repo-helper
 Build-Depends-Indep: ant-optional, default-jdk,
  libtomcat6-java, libservlet2.4-java, imagemagick
 Standards-Version: 3.8.3

Added: trunk/javahelp2/debian/pom.xml
===================================================================
--- trunk/javahelp2/debian/pom.xml	                        (rev 0)
+++ trunk/javahelp2/debian/pom.xml	2009-12-05 17:19:24 UTC (rev 11205)
@@ -0,0 +1,12 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>javax.help</groupId>
+  <artifactId>javahelp</artifactId>
+  <version>2.0.05</version>
+  <name>JavaHelp API</name>
+  <url>http://java.sun.com/products/javahelp/index.jsp</url>
+  <description>The JavaHelp API provides a platform-independent help framework.</description>
+  <distributionManagement>
+    <downloadUrl>http://java.sun.com/products/javahelp/downloads/index.html</downloadUrl>
+  </distributionManagement>
+</project>

Modified: trunk/javahelp2/debian/rules
===================================================================
--- trunk/javahelp2/debian/rules	2009-12-05 13:31:09 UTC (rev 11204)
+++ trunk/javahelp2/debian/rules	2009-12-05 17:19:24 UTC (rev 11205)
@@ -42,7 +42,11 @@
 	touch $@
 	
 install/$(p_jh)::
-	install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jhall.jar           $(d_jh)/usr/share/java/jhall-$(DEB_UPSTREAM_VERSION).jar
+	# maven
+	mh_installpom -p$(p_jh) debian/pom.xml
+	mh_installjar -p$(p_jh) -i$(DEB_UPSTREAM_VERSION) -l -njhall debian/pom.xml \
+		$(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jhall.jar
+	# other jars under /usr/share/java
 	install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jhbasic.jar         $(d_jh)/usr/share/java/jhbasic-$(DEB_UPSTREAM_VERSION).jar
 	install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jh-client.jar       $(d_jh)/usr/share/java/jh-client-$(DEB_UPSTREAM_VERSION).jar
 	install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jh.jar              $(d_jh)/usr/share/java/jh-$(DEB_UPSTREAM_VERSION).jar
@@ -70,6 +74,11 @@
 	-rm -f *.cdbs-config_list
 	-rm -f stamp-build-$(p_jh)
 
+        rm -rf $(DEB_SRCDIR)/javahelp_nbproject/{build,dist,lib}
+        rm -rf $(DEB_SRCDIR)/JSearchClient_nbproject/{build,dist}
+        rm -rf $(DEB_SRCDIR)/JSearchIndexer_nbproject/{build,dist}
+        rm -f $(DEB_SRCDIR)/jhMaster/JavaHelp/src/new/javax/help/plaf/basic/images/*.png
+
 get-orig-source:
 	uscan --repack
 




More information about the pkg-java-commits mailing list