[javatools] 04/08: jh_installjavadoc: Set default for Author and fix a typo
Niels Thykier
nthykier at alioth.debian.org
Tue Sep 24 12:06:27 UTC 2013
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository javatools.
commit e48a33d21c5dd60413ec6e49a8dcc2aaf4893b46
Author: Markus Koschany <apo at gambaru.de>
Date: Tue Sep 24 13:49:59 2013 +0200
jh_installjavadoc: Set default for Author and fix a typo
Signed-off-by: Niels Thykier <niels at thykier.net>
---
debian/changelog | 4 ++++
jh_installjavadoc | 5 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 403c736..f7bfeb1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,10 @@ javatools (0.44) UNRELEASED; urgency=low
* jh_depends: Strip leading "file://" before looking for
a jar file. Thanks to Rene Engelhard for the bug
report. (Closes: #632821)
+ * jh_installjavadoc: Apply patch from Markus Koschany to
+ insert a default value for the "Author"-field when no
+ author is provided. Also fix a typo in the generated
+ doc-base file. (Closes: #625945)
-- Niels Thykier <niels at thykier.net> Wed, 20 Mar 2013 14:40:31 +0100
diff --git a/jh_installjavadoc b/jh_installjavadoc
index 52ebf6b..be848be 100755
--- a/jh_installjavadoc
+++ b/jh_installjavadoc
@@ -35,6 +35,9 @@ function installjavadoc()
src="$2"
target="$3"
+ if [ -z "$AUTHOR" ]; then
+ AUTHOR="The authors of $package"
+ fi
if [ -z "$src" ]; then
echo "Error: trying to install from empty source"
exit 1
@@ -65,7 +68,7 @@ function installjavadoc()
Document: $package
Title: API JavaDoc for $package
Author: $AUTHOR
-Abstract: This the API JavaDoc for $package
+Abstract: This is the API JavaDoc for $package
Section: Programming/Java
Format: HTML
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/javatools.git
More information about the pkg-java-commits
mailing list