[jtidy] 04/30: jtidy - corrected clean rule. Standardised build.xml
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Dec 18 09:20:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository jtidy.
commit 5f1b0b65a8368327a19dc77a8263400d2f5757c4
Author: Paul Cager <paul-debian at home.paulcager.org>
Date: Thu Mar 22 23:27:58 2007 +0000
jtidy - corrected clean rule. Standardised build.xml
---
debian/build.xml | 5 ++---
debian/rules | 3 +++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/build.xml b/debian/build.xml
index 9a07e63..0b7c540 100644
--- a/debian/build.xml
+++ b/debian/build.xml
@@ -37,8 +37,7 @@
<property name="build.dir" value="build"/>
<property name="package" value="jtidy"/>
<property name="jar" value="${build.dir}/${package}-${version}.jar"/>
- <property name="packages" value="org.w3c.dom.*, org.w3c.tidy.*"/>
- <property name="javadoc.dir" value="build/doc/api"/>
+ <property name="javadoc.dir" value="${build.dir}/doc/api"/>
</target>
<target name="compile" depends="init">
@@ -63,7 +62,7 @@
<target name="javadoc" depends="init">
<mkdir dir="${javadoc.dir}"/>
- <javadoc packagenames="${packages}"
+ <javadoc packagenames="org.w3c.dom.*, org.w3c.tidy.*"
sourcepath="${src.dir}/main/java"
destdir="${javadoc.dir}"
author="true"
diff --git a/debian/rules b/debian/rules
index f2037f0..ad35556 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,3 +30,6 @@ makebuilddir/libjtidy-java::
makebuilddir/lib$(PACKAGE)-java-doc::
echo "$(API_DOCS) usr/share/doc/lib$(PACKAGE)-java" >debian/lib$(PACKAGE)-java-doc.install
#echo "CHANGES usr/share/doc/lib$(PACKAGE)-java" >>debian/lib$(PACKAGE)-java-doc.install
+
+cleanbuilddir/lib$(PACKAGE)-java::
+ cd debian && rm -f lib$(PACKAGE)-java-doc.install lib$(PACKAGE)-java.links lib$(PACKAGE)-java.install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jtidy.git
More information about the pkg-java-commits
mailing list