[libsaxon-java] 20/33: Updated the description and avoided compiling javadoc when doing binary-only builds.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jun 19 12:26:39 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libsaxon-java.
commit d204bb0ec86d6b54b84644b9f769a4ce21878d10
Author: Niels Thykier <nthykier at debian.org>
Date: Sat Mar 12 09:26:05 2011 +0000
Updated the description and avoided compiling javadoc
when doing binary-only builds.
---
debian/changelog | 3 +++
debian/control | 12 ++++++++----
debian/rules | 6 +++++-
3 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 30975eb..c651146 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,9 @@ libsaxon-java (1:6.5.5-7) UNRELEASED; urgency=low
* Accepted patch from Brian M. Carlson to make saxon use
uppercase encoding names. (Closes: #568347)
* Converted source package to 3.0 (quilt).
+ * Updated the descriptions a bit.
+ * Moved javadoc compilation to binary/binary-indep to avoid it
+ being build when doing binary-only builds.
-- Niels Thykier <niels at thykier.net> Sat, 12 Mar 2011 09:07:41 +0100
diff --git a/debian/control b/debian/control
index 629520b..d05a2f5 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Michael Koch <konqueror at gmx.de>
Build-Depends: debhelper (>= 7.0.50~), default-jdk, javahelper (>= 0.32~),
- libjdom1-java, gcj-native-helper, default-jdk-doc, libjdom1-java-doc
+ libjdom1-java, gcj-native-helper
+Build-Depends-Indep: default-jdk-doc, libjdom1-java-doc
Standards-Version: 3.9.1
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libsaxon-java
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libsaxon-java
@@ -15,7 +16,7 @@ Architecture: all
Depends: ${misc:Depends}, ${java:Depends}
Recommends: ${java:Recommends}
Suggests: libjdom1-java, libsaxon-java-doc
-Description: The Saxon XSLT Processor
+Description: Saxon XSLT Processor
The saxon package is a collection of tools for processing XML documents and
implements the XSLT 1.0 recommendation, including XPath 1.0, in its entirety.
.
@@ -28,20 +29,23 @@ Architecture: any
Depends: libsaxon-java (>= ${source:Version}), ${misc:Depends}, ${shlibs:Depends},
${java:Depends}
Recommends: ${java:Recommends}
-Description: The Saxon XSLT Processor (native code)
+Description: Saxon XSLT Processor (native code)
The saxon package is a collection of tools for processing XML documents and
implements the XSLT 1.0 recommendation, including XPath 1.0, in its entirety.
.
Saxon is known to work well for processing DocBook XML documents
with the DocBook XSL Stylesheets. Related packages make the process
straightforward.
+ .
+ This package contains the native compiled byte code for the Saxon XSLT
+ processor.
Package: libsaxon-java-doc
Section: doc
Architecture: all
Depends: ${java:Depends}, ${misc:Depends}
Recommends: ${java:Recommends}
-Description: The Saxon XSLT Processor's documentation and javadoc
+Description: Saxon XSLT Processor's documentation and javadoc
The saxon package is a collection of tools for processing XML documents and
implements the XSLT 1.0 recommendation, including XPath 1.0, in its entirety.
.
diff --git a/debian/rules b/debian/rules
index 42604b9..bf2154f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,9 +30,13 @@ override_dh_auto_build:
# split off jdom classes, everything else into saxon.jar
(cd $(BUILD); $(JAVA_HOME)/bin/jar -cfM ../saxon.jar META-INF `find . -name \*.class | egrep -v $(JDOM)`; \
$(JAVA_HOME)/bin/jar -cfM ../saxon-jdom.jar $(JDOM)/*.class )
+ touch build-stamp
+
+binary binary-indep:
+ # Only compile the javadoc if we have too
(cd $(APIDOC) ; $(JAVADOC) -sourcepath ../../$(SOURCES) -link /usr/share/doc/default-jdk-doc/api \
-link /usr/share/doc/libjdom1-java/api @../../debian/javadoc-args )
- touch build-stamp
+ dh $@ --with javahelper
override_dh_auto_clean:
rm -f build-stamp configure-stamp saxon*.jar
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libsaxon-java.git
More information about the pkg-java-commits
mailing list