[libjaxen-java] 23/49: Minor cleanup.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Oct 25 13:22:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libjaxen-java.
commit 99b06c431a1d6381a872809550a326906aef67eb
Author: Marcus Better <marcus at better.se>
Date: Wed Jun 6 15:44:19 2007 +0000
Minor cleanup.
---
debian/doc-base | 10 +++++-----
debian/rules | 15 ++++++---------
2 files changed, 11 insertions(+), 14 deletions(-)
diff --git a/debian/doc-base b/debian/doc-base
index 904ac74..d354d77 100644
--- a/debian/doc-base
+++ b/debian/doc-base
@@ -1,9 +1,9 @@
Document: libjaxen-java
-Title: jaxen API
+Title: API Javadoc for jaxen
Author: jaxen developers
-Abstract: JavaDoc documentation for jaxen
-Section: Apps/Programming
+Abstract: This is the API Javadoc provided by the jaxen library.
+Section: Programming
Format: HTML
-Index: /usr/share/doc/libjaxen-java/api/index.html
-Files: /usr/share/doc/libjaxen-java/api/*
+Index: /usr/share/doc/libjaxen-java/apidocs/index.html
+Files: /usr/share/doc/libjaxen-java/apidocs/*
diff --git a/debian/rules b/debian/rules
index 48ef9f1..9215ab4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,12 +7,8 @@ JAVACMD := $(JAVA_HOME)/bin/java
DEB_JARS := ant ant-launcher jdom1 dom4j ant-junit junit xercesImpl
DEB_CLASSPATH = $(shell for jar in $(DEB_JARS); do \
- if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; \
- if [ -f "$$jar".jar ]; then echo -n "$${jar}.jar:"; fi; \
- if [ -f $(DEB_JARS_BASE)/"$$jar" ]; then echo -n "$(DEB_JARS_BASE)/$${jar}:"; fi; \
- if [ -f $(DEB_JARS_BASE)/"$$jar".jar ]; then echo -n "$(DEB_JARS_BASE)/$${jar}.jar:"; fi; \
+ echo -n "$(DEB_JARS_BASE)/$${jar}.jar:"; \
done; \
- if [ -f "$(JAVA_HOME)/lib/tools.jar" ]; then echo -n "$(JAVA_HOME)/lib/tools.jar"; fi)
DEB_ANT_ARGS := -propertyfile debian/ant.properties
ANT_INVOKE := $(JAVACMD) -classpath $(DEB_CLASSPATH) \
@@ -21,14 +17,14 @@ ANT_INVOKE := $(JAVACMD) -classpath $(DEB_CLASSPATH) \
PKGNAME := libjaxen-java
INSTALLDIR := $(CURDIR)/debian/$(PKGNAME)
JAVALIBDIR := $(INSTALLDIR)/usr/share/java
+DOCDIR := $(INSTALLDIR)/usr/share/doc/$(PKGNAME)
-VERSION := $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\- | cut -f1 -d\+)
-UVERSION := $(subst ~beta,-beta-,$(VERSION))
+VERSION := $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
build: build-stamp
build-stamp:
dh_testdir
- $(ANT_INVOKE) jar javadoc test
+ $(ANT_INVOKE) dist
touch build-stamp
clean:
@@ -43,7 +39,7 @@ install: build
dh_testroot
dh_clean -k
dh_installdirs
- install -m 644 target/jaxen-$(UVERSION).jar $(JAVALIBDIR)/jaxen-$(VERSION).jar
+ install -m 644 target/jaxen-$(VERSION).jar $(JAVALIBDIR)/jaxen-$(VERSION).jar
ln -s jaxen-$(VERSION).jar $(JAVALIBDIR)/jaxen.jar
binary-indep: build install
@@ -51,6 +47,7 @@ binary-indep: build install
dh_testroot
dh_installchangelogs
dh_installdocs
+ mv $(DOCDIR)/api $(DOCDIR)/apidocs
dh_compress
dh_fixperms
dh_installdeb
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjaxen-java.git
More information about the pkg-java-commits
mailing list