[modello] 06/32: Corrected location of Javadocs. Included pom.xml in Jar

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 9 10:49:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch modello-1.1
in repository modello.

commit a455f387b9807046db30da69609b2111c2d08a9c
Author: Paul Cager <paul-debian at home.paulcager.org>
Date:   Fri May 25 23:29:29 2007 +0000

    Corrected location of Javadocs.
    Included pom.xml in Jar
---
 debian/build.xml | 5 ++++-
 debian/rules     | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/build.xml b/debian/build.xml
index 3504056..75fa03d 100644
--- a/debian/build.xml
+++ b/debian/build.xml
@@ -53,9 +53,12 @@
 <target name="jar" depends="compile">
 	<delete file="${jar}"/>
 
+	<mkdir dir="${build.dir}/META-INF/maven/org.codehaus.modello/modello-core" />
+	<copy file="./modello-core/pom.xml" todir="${build.dir}/META-INF/maven/org.codehaus.modello/modello-core" />
+
 	<jar jarfile="${build.dir}/${package}${jar.suffix}"
 		basedir="${build.dir}"
-		includes="**/*.class,**/*.properties" />
+		includes="**/*.class,**/*.properties,**/pom.xml" />
 </target>
 
 <target name="javadoc" depends="init">
diff --git a/debian/rules b/debian/rules
index 39836cc..3a06657 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,4 +39,4 @@ binary-post-install/lib$(PACKAGE)-java::
 	dh_link -plib$(PACKAGE)-java usr/share/java/$(PACKAGE)-$(VERSION).jar usr/share/java/$(PACKAGE).jar; \
 
 binary-post-install/lib$(PACKAGE)-java-doc::
-	dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/$(PACKAGE)
+	dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/lib$(PACKAGE)-java

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/modello.git



More information about the pkg-java-commits mailing list