[arename] 02/03: Show pod2man errors if there are any
Axel Beckert
abe at deuxchevaux.org
Sat May 23 17:50:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository arename.
commit 8fc3828fac3ff6a8da08e11d326b5c4d5375cf58
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sat May 23 19:38:09 2015 +0200
Show pod2man errors if there are any
Helps debugging build failures. *sigh*
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/unsilent-pod2man.patch | 24 ++++++++++++++++++++++++
3 files changed, 26 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 55b9c44..a8dd70f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ arename (4.0-3) UNRELEASED; urgency=low
* Update Homepage URL. (Thanks DUCK!)
* Add patches for:
+ Fixing FTBFS if building from a git checkout with tags with slashes.
+ + Show pod2man errors if there are any. Helps debugging build failures.
[ Salvatore Bonaccorso ]
* Update Vcs-Browser URL to cgit web frontend
diff --git a/debian/patches/series b/debian/patches/series
index 21d156b..c9eb91e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
spelling.patch
VERSION.patch
+unsilent-pod2man.patch
cope-with-slashes-in-tag-names.patch
diff --git a/debian/patches/unsilent-pod2man.patch b/debian/patches/unsilent-pod2man.patch
new file mode 100644
index 0000000..418b5fe
--- /dev/null
+++ b/debian/patches/unsilent-pod2man.patch
@@ -0,0 +1,24 @@
+Description: Show pod2man errors if there are any
+ Helps debugging build failures.
+Author: Axel Beckert <abe at debian.org>
+
+Index: arename/bin/gendoc.sh
+===================================================================
+--- arename.orig/bin/gendoc.sh 2015-05-23 18:24:17.799474077 +0200
++++ arename/bin/gendoc.sh 2015-05-23 19:10:31.354886903 +0200
+@@ -8,13 +8,13 @@
+
+ if [ "${NAME}" -nt "${NAME}.1" ] || [ ! -e "${NAME}.1" ] ; then
+ printf 'POD2MAN %s > %s\n' "${NAME}" "${NAME}.1"
+- pod2man --name="${NAME}" ./"${NAME}" > "${NAME}.1" 2>/dev/null \
++ pod2man --name="${NAME}" ./"${NAME}" > "${NAME}.1" \
+ || exit 1
+ fi
+
+ if [ ${NAME} -nt ${NAME}.html ] || [ ! -e "${NAME}.html" ]; then
+ printf 'POD2HTML %s > %s\n' "${NAME}" "${NAME}.html"
+- pod2html ./"${NAME}" > "${NAME}.html" 2>/dev/null \
++ pod2html ./"${NAME}" > "${NAME}.html" \
+ || exit 1
+ rm -f *.tmp
+ fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/arename.git
More information about the Pkg-perl-cvs-commits
mailing list