[arename] 03/03: Don't ignore failures by scripts which are part of the build process
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 594f68e73cf94ca6dcc51073af07d0f6fad0e57f
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sat May 23 19:41:29 2015 +0200
Don't ignore failures by scripts which are part of the build process
The build should immediately abort if any of these fail and not only
because a later step stumbles upon the failure's result of a previous
step.
---
debian/changelog | 1 +
.../patches/dont-ignore-gen-script-failures.patch | 65 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 67 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index a8dd70f..ca5a8be 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ arename (4.0-3) UNRELEASED; urgency=low
* 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.
+ + Not ignoring failures by scripts which are part of the build process.
[ Salvatore Bonaccorso ]
* Update Vcs-Browser URL to cgit web frontend
diff --git a/debian/patches/dont-ignore-gen-script-failures.patch b/debian/patches/dont-ignore-gen-script-failures.patch
new file mode 100644
index 0000000..7b16cc2
--- /dev/null
+++ b/debian/patches/dont-ignore-gen-script-failures.patch
@@ -0,0 +1,65 @@
+Description: Don't ignore failures by scripts which are part of the build process
+ The build should immediately abort if any of these fail and not only
+ because a later step stumbles upon the failure's result of a previous
+ step.
+Author: Axel Beckert <abe at debian.org>
+
+Index: arename/Makefile
+===================================================================
+--- arename.orig/Makefile 2015-05-23 18:24:17.799474077 +0200
++++ arename/Makefile 2015-05-23 19:30:31.987343858 +0200
+@@ -48,12 +48,12 @@
+ @printf ' removeweb clean up the website'\''s target directory\n'
+
+ genperlscripts:
+- @./bin/genperlscripts.sh ARename.pm arename ataglist
++ ./bin/genperlscripts.sh ARename.pm arename ataglist
+ @chmod -x ARename.pm
+
+ doc: genperlscripts
+- @./bin/gendoc.sh arename
+- @./bin/gendoc.sh ataglist
++ ./bin/gendoc.sh arename
++ ./bin/gendoc.sh ataglist
+
+ clean:
+ @[ ! -e arename.in ] && { printf 'DO NOT CALL THIS!\n' ; exit 1 ; } || true
+@@ -65,23 +65,23 @@
+ rm -f TAGS tags
+
+ install:
+- @./bin/install.sh x arename "$(prefix)/bin" $(maxwidth)
+- @./bin/install.sh x ataglist "$(prefix)/bin" $(maxwidth)
+- @./bin/install.sh x ARename.pm "$(prefix)/$(libpath)/" $(maxwidth)
++ ./bin/install.sh x arename "$(prefix)/bin" $(maxwidth)
++ ./bin/install.sh x ataglist "$(prefix)/bin" $(maxwidth)
++ ./bin/install.sh x ARename.pm "$(prefix)/$(libpath)/" $(maxwidth)
+
+ install-doc:
+- @./bin/install.sh n README "$(prefix)/share/doc/arename" $(maxwidth)
+- @./bin/install.sh n UPGRADING "$(prefix)/share/doc/arename" $(maxwidth)
+- @./bin/install.sh n REPORTING_BUGS "$(prefix)/share/doc/arename" $(maxwidth)
+- @./bin/install.sh n LICENCE "$(prefix)/share/doc/arename" $(maxwidth)
+- @./bin/install.sh n CHANGES "$(prefix)/share/doc/arename" $(maxwidth)
+- @./bin/install.sh n asdump "$(prefix)/share/doc/arename" $(maxwidth)
+- @./bin/install.sh n arename.html "$(prefix)/share/doc/arename" $(maxwidth)
+- @./bin/install.sh n arename.1 "$(prefix)/share/man/man1" $(maxwidth)
+- @./bin/install.sh n ataglist.html "$(prefix)/share/doc/arename" $(maxwidth)
+- @./bin/install.sh n ataglist.1 "$(prefix)/share/man/man1" $(maxwidth)
+- @./bin/install.sh n arename.hooks "$(prefix)/share/doc/arename/examples" $(maxwidth)
+- @./bin/install.sh n _arename "$(prefix)/share/doc/arename/examples" $(maxwidth)
++ ./bin/install.sh n README "$(prefix)/share/doc/arename" $(maxwidth)
++ ./bin/install.sh n UPGRADING "$(prefix)/share/doc/arename" $(maxwidth)
++ ./bin/install.sh n REPORTING_BUGS "$(prefix)/share/doc/arename" $(maxwidth)
++ ./bin/install.sh n LICENCE "$(prefix)/share/doc/arename" $(maxwidth)
++ ./bin/install.sh n CHANGES "$(prefix)/share/doc/arename" $(maxwidth)
++ ./bin/install.sh n asdump "$(prefix)/share/doc/arename" $(maxwidth)
++ ./bin/install.sh n arename.html "$(prefix)/share/doc/arename" $(maxwidth)
++ ./bin/install.sh n arename.1 "$(prefix)/share/man/man1" $(maxwidth)
++ ./bin/install.sh n ataglist.html "$(prefix)/share/doc/arename" $(maxwidth)
++ ./bin/install.sh n ataglist.1 "$(prefix)/share/man/man1" $(maxwidth)
++ ./bin/install.sh n arename.hooks "$(prefix)/share/doc/arename/examples" $(maxwidth)
++ ./bin/install.sh n _arename "$(prefix)/share/doc/arename/examples" $(maxwidth)
+
+ uninstall:
+ @./bin/uninstall.sh f "$(prefix)/bin/arename"
diff --git a/debian/patches/series b/debian/patches/series
index c9eb91e..bc60dc5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ spelling.patch
VERSION.patch
unsilent-pod2man.patch
cope-with-slashes-in-tag-names.patch
+dont-ignore-gen-script-failures.patch
--
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