debian/patches/0013-fix-doc-build.patch: Fix the documentation build with asciidoc >= 0.9

This commit is contained in:
Laurent Bigonville 2019-12-15 20:31:06 +01:00
parent a4d3d4fb1e
commit f1c2ba9882
3 changed files with 22 additions and 1 deletions

18
debian/patches/0013-fix-doc-build.patch vendored Normal file
View file

@ -0,0 +1,18 @@
Description: Fix the documentation build with asciidoc >= 0.9
Author: Laurent Bigonville <bigon@debian.org>
Last-Update: 2019-12-15
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -91,10 +91,7 @@ packager-guide.html packager-guide.chunk
# variable ASCIIDOC_VERBOSE to "-v", ie:
# $ ASCIIDOC_VERBOSE=-v make
A2X_COMMON_OPTS = $(ASCIIDOC_VERBOSE) --attribute icons \
- --xsltproc-opts "--nonet" \
- --xsltproc-opts "--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d -d @$(SOURCE_DATE_EPOCH)`\"" \
- --xsltproc-opts "--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S -d @$(SOURCE_DATE_EPOCH)`\"" \
- --xsltproc-opts "--stringparam nut.nutversion \"@PACKAGE_VERSION@\"" \
+ --xsltproc-opts "--nonet --stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d -d @$(SOURCE_DATE_EPOCH)`\" --stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S -d @$(SOURCE_DATE_EPOCH)`\" --stringparam nut.nutversion \"@PACKAGE_VERSION@\"" \
--attribute iconsdir=$(srcdir)/images \
--attribute=badges \
--attribute=external_title \

View file

@ -10,3 +10,4 @@
0010-fix-nutscanner-ftbfs.patch
0011-use-pkgconfig-module.patch
0012-add-AEG-PROTECT-NAS-support.patch
0013-fix-doc-build.patch