[axis] 02/60: Copy docs and javadocs in the correct location. lib*-java-doc should go in "section: doc"
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Jan 12 17:30:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository axis.
commit 22e758c24af8b131294164359097a15341998e86
Author: Stephan Michels <stephan.michels at gmail.com>
Date: Sun Jan 22 10:24:37 2006 +0000
Copy docs and javadocs in the correct location.
lib*-java-doc should go in "section: doc"
---
debian/control | 2 ++
debian/libaxis-java-doc.docs | 2 ++
debian/rules | 7 ++++++-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 2f04b20..b8d2ac2 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Standards-Version: 3.6.1
Package: libaxis-java
Architecture: all
+Section: libs
Suggests: libaxis-java-doc
Depends: kaffe (>= 2:1.1.5) | java1-runtime | java2-runtime, libservlet2.4-java, ant
Description: A SOAP implementation in Java
@@ -28,6 +29,7 @@ Description: A SOAP implementation in Java
Package: libaxis-java-doc
Architecture: all
+Section: doc
Suggests: libaxis-java
Description: Documentation for libaxis-java
Apache AXIS is an implementation of the SOAP ("Simple Object Access Protocol")
diff --git a/debian/libaxis-java-doc.docs b/debian/libaxis-java-doc.docs
new file mode 100644
index 0000000..569a80b
--- /dev/null
+++ b/debian/libaxis-java-doc.docs
@@ -0,0 +1,2 @@
+docs/*
+build/apiDocs
diff --git a/debian/rules b/debian/rules
index d58b270..7e3df34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,12 @@ DEB_ANT_BUILD_TARGET := clean compile javadocs
LIBRARY_PACKAGE := axis
API_VERSION := 1.2.1
+#build/lib$(LIBRARY_PACKAGE)-java-doc::
+common-post-build-indep::
+ # Rename javadoc directory to ensure that the links
+ # of the documentation works
+ mv build/javadocs build/apiDocs
+
install/lib$(LIBRARY_PACKAGE)-java::
install -m 644 build/lib/$(LIBRARY_PACKAGE).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(API_VERSION).jar
ln -s $(LIBRARY_PACKAGE)-$(API_VERSION).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE).jar
@@ -48,4 +54,3 @@ install/lib$(LIBRARY_PACKAGE)-java::
install -m 644 build/lib/saaj.jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/saaj-$(API_VERSION).jar
ln -s saaj-$(API_VERSION).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/saaj.jar
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/axis.git
More information about the pkg-java-commits
mailing list