[latexdraw] 21/147: * add doc-base control file for api documentation * add updated rules and ant build.xml files

Stuart Prescott stuart at debian.org
Thu Nov 24 23:53:21 UTC 2016


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

stuart pushed a commit to branch master
in repository latexdraw.

commit 03f1a350018955d9d34af31801cc8bb990b31e8f
Author: Stuart Prescott <stuart at debian.org>
Date:   Mon Jun 23 23:41:18 2008 +0000

    * add doc-base control file for api documentation
    * add updated rules and ant build.xml files
---
 build.xml                 |  2 +-
 debian/changelog          |  4 ++--
 debian/docs               |  1 +
 debian/latexdraw.doc-base | 11 +++++++++++
 debian/rules              |  6 ++----
 5 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/build.xml b/build.xml
index a6703e1..1e82acc 100644
--- a/build.xml
+++ b/build.xml
@@ -3,7 +3,7 @@
 	<property name="dir.out" value="out"/>
 	<property name="dir.data" value="out/data"/>
 	<property name="dir.report" value="out/report"/>
-	<property name="dir.doc" location="doc"/>
+	<property name="dir.doc" location="api-html"/>
 	 <property name="jar.junit" value="/opt/eclipse/plugins/org.junit4_4.3.1/junit.jar"/>
 	
   <path id="classpathlib">
diff --git a/debian/changelog b/debian/changelog
index 9767c03..04718b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-latexdraw (1.9.5+1-1) UNRELEASED; urgency=low
+latexdraw (1.9.5+1-1) unstable; urgency=low
 
   * Add source revision to the Debianised source tarball
   * Remove docs from source tarball and regenerate during build
 
- -- Stuart Prescott <stuart+debian at nanonanonano.net>  Tue, 24 Jun 2008 00:04:36 +0100
+ -- Stuart Prescott <stuart+debian at nanonanonano.net>  Tue, 24 Jun 2008 00:40:24 +0100
 
 latexdraw (1.9.5-2) unstable; urgency=low
 
diff --git a/debian/docs b/debian/docs
index 0679c34..585b633 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,3 +1,4 @@
 debian/README.Debian-source
 debian/copyright
 help
+api-html
diff --git a/debian/latexdraw.doc-base b/debian/latexdraw.doc-base
new file mode 100644
index 0000000..a1f2ec2
--- /dev/null
+++ b/debian/latexdraw.doc-base
@@ -0,0 +1,11 @@
+Document: latexdraw
+Title: LaTeXDraw Library Documentation
+Author: Arnaud BLOUIN <arno_b at users.sourceforge.net>
+Abstract: This manual contains the API documentation for LaTeXDraw
+ which is a vector drawing program that uses the LaTeX PStricks
+ package.
+Section: Applications/Graphics
+
+Format: HTML
+Index: /usr/share/doc/latexdraw/api-html/index.html
+Files: /usr/share/doc/latexdraw/api-html/*.html
diff --git a/debian/rules b/debian/rules
index 532ec85..706ed94 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,7 @@ build: build-stamp
 
 build-stamp: configure-stamp 
 	dh_testdir
-	ant -Dlib.dir=/usr/share/java
+	ant -Dlib.dir=/usr/share/java jar doc
 	convert -geometry 32x32 res/LaTeXDrawIcon.png out/latexdraw32.xpm
 	convert -geometry 16x16 res/LaTeXDrawIcon.png out/latexdraw16.xpm
 	touch $@
@@ -35,14 +35,13 @@ clean:
 	rm -f build-stamp configure-stamp
 	find . -name \*.jar -exec rm -f {} \;
 	find . -name \*.class -exec rm -f {} \;
-	rm -rf out/* out/.cache
+	rm -rf out/* out/.cache api-html/
 	dh_clean 
 
 install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k 
-	dh_installdirs
 
 # Build architecture-dependent files here.
 binary-arch: build install
@@ -51,7 +50,6 @@ binary-arch: build install
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installdirs -a
 	
 	dh_installchangelogs 
 	dh_installchangelogs -k release_note.txt

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



More information about the pkg-java-commits mailing list