31 lines
1.4 KiB
Diff
31 lines
1.4 KiB
Diff
|
Index: nut-2.7.4/docs/Makefile.am
|
||
|
===================================================================
|
||
|
--- nut-2.7.4.orig/docs/Makefile.am
|
||
|
+++ nut-2.7.4/docs/Makefile.am
|
||
|
@@ -92,8 +92,8 @@ packager-guide.html packager-guide.chunk
|
||
|
# $ 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`\"" \
|
||
|
- --xsltproc-opts "--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S`\"" \
|
||
|
+ --xsltproc-opts "--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d -r $(top_srcdir)/ChangeLog`\"" \
|
||
|
+ --xsltproc-opts "--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S -r $(top_srcdir)/ChangeLog`\"" \
|
||
|
--xsltproc-opts "--stringparam nut.nutversion \"@PACKAGE_VERSION@\"" \
|
||
|
--attribute iconsdir=$(srcdir)/images \
|
||
|
--attribute=badges \
|
||
|
Index: nut-2.7.4/docs/man/Makefile.am
|
||
|
===================================================================
|
||
|
--- nut-2.7.4.orig/docs/man/Makefile.am
|
||
|
+++ nut-2.7.4/docs/man/Makefile.am
|
||
|
@@ -591,8 +591,8 @@ if HAVE_ASCIIDOC
|
||
|
|
||
|
.txt.html:
|
||
|
$(ASCIIDOC) --backend=xhtml11 \
|
||
|
- --attribute localdate=`TZ=UTC date +%Y-%m-%d` \
|
||
|
- --attribute localtime=`TZ=UTC date +%H:%M:%S` \
|
||
|
+ --attribute localdate=`TZ=UTC date +%Y-%m-%d -r $(top_srcdir)/ChangeLog` \
|
||
|
+ --attribute localtime=`TZ=UTC date +%H:%M:%S -r $(top_srcdir)/ChangeLog` \
|
||
|
--attribute nutversion="@PACKAGE_VERSION@" \
|
||
|
-o $@ $<
|
||
|
|