debian/patches/0013-fix-doc-build.patch: Fix the documentation build with asciidoc >= 0.9
This commit is contained in:
parent
a4d3d4fb1e
commit
f1c2ba9882
3 changed files with 22 additions and 1 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -3,8 +3,10 @@ nut (2.7.4-11) UNRELEASED; urgency=medium
|
||||||
* Remove python(2) binding and disable nut-monitor package for now as it
|
* Remove python(2) binding and disable nut-monitor package for now as it
|
||||||
depends on unmaintained pygtk (Closes: #885358, #937169)
|
depends on unmaintained pygtk (Closes: #885358, #937169)
|
||||||
* debian/control: Add support for the <!nodoc> Build-Profile
|
* debian/control: Add support for the <!nodoc> Build-Profile
|
||||||
|
* debian/patches/0013-fix-doc-build.patch: Fix the documentation build with
|
||||||
|
asciidoc >= 0.9
|
||||||
|
|
||||||
-- Laurent Bigonville <bigon@debian.org> Sun, 15 Dec 2019 20:04:18 +0100
|
-- Laurent Bigonville <bigon@debian.org> Sun, 15 Dec 2019 20:49:11 +0100
|
||||||
|
|
||||||
nut (2.7.4-10) unstable; urgency=medium
|
nut (2.7.4-10) unstable; urgency=medium
|
||||||
|
|
||||||
|
|
18
debian/patches/0013-fix-doc-build.patch
vendored
Normal file
18
debian/patches/0013-fix-doc-build.patch
vendored
Normal 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 \
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -10,3 +10,4 @@
|
||||||
0010-fix-nutscanner-ftbfs.patch
|
0010-fix-nutscanner-ftbfs.patch
|
||||||
0011-use-pkgconfig-module.patch
|
0011-use-pkgconfig-module.patch
|
||||||
0012-add-AEG-PROTECT-NAS-support.patch
|
0012-add-AEG-PROTECT-NAS-support.patch
|
||||||
|
0013-fix-doc-build.patch
|
||||||
|
|
Loading…
Reference in a new issue