SHA256
1
0
forked from pool/devscripts
devscripts/devscripts-fix-build.patch

55 lines
2.0 KiB
Diff
Raw Normal View History

diff -paur a/Makefile b/Makefile
--- a/Makefile 2018-11-15 08:15:00.000000000 +0300
+++ b/Makefile 2018-12-16 16:59:27.376872292 +0300
@@ -4,7 +4,7 @@ include Makefile.common
DESTDIR =
-all: version doc make_scripts conf.default translated_manpages
+all: version doc conf.default
version:
rm -f version
diff -paur a/Makefile.common b/Makefile.common
--- a/Makefile.common 2018-11-15 08:15:00.000000000 +0300
+++ b/Makefile.common 2018-12-16 17:00:29.077661251 +0300
@@ -13,3 +13,5 @@ PERLMOD_DIR = $(shell perl -MConfig -e '
DATA_DIR = $(PREFIX)/share/devscripts
TEMPLATES_DIR = $(DATA_DIR)/templates
SYSCONFDIR = /etc
+
+XSL_STYLESHEET = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
Только в b: Makefile.common.orig
Только в b: Makefile.common.rej
Только в b: Makefile.orig
Только в b: Makefile.rej
diff -paur a/po4a/Makefile b/po4a/Makefile
--- a/po4a/Makefile 2018-11-15 08:15:00.000000000 +0300
+++ b/po4a/Makefile 2018-12-16 16:57:58.863740489 +0300
@@ -40,8 +40,7 @@ fr/%.fr.1: fr/%.fr.pod translate
podchecker $<
pod2man --utf8 --center=" " --release="Utilitaires Debian" $< > $@
fr/%.fr.1: fr/%.fr.dbk translate
- xsltproc --nonet -o $@ \
- /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
+ xsltproc --nonet -o $@ $(XSL_STYLESHEET) $<
# xsltproc writes out to foo.1 even if you tell it to do otherwise, so we have
# to rename the file after it's generated
mv fr/$*.1 $@
Только в b/po4a: Makefile.orig
diff -paur a/scripts/Makefile b/scripts/Makefile
--- a/scripts/Makefile 2018-11-15 08:15:00.000000000 +0300
+++ b/scripts/Makefile 2018-12-16 17:02:23.223120806 +0300
@@ -81,8 +81,7 @@ endif
podchecker $<
pod2man --utf8 --center=" " --release="Debian Utilities" $< > $@
%.1: %.dbk
- xsltproc --nonet -o $@ \
- /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
+ xsltproc --nonet -o $@ $(XSL_STYLESHEET) $<
# Syntax checker
test_sh: $(SH_CHECKS)
Только в b/scripts: Makefile.orig
Только в b/scripts: Makefile.rej