summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2018-10-06 18:55:05 -0600
committerBdale Garbee <bdale@gag.com>2018-10-06 18:55:05 -0600
commit073ebc77bbd813eb97c515ecf3c2d104d6157843 (patch)
tree806bfb284bd1901a5aa18c7d50bbceb804102489 /doc
parentfb167d9f589d3e42e0f99b9f454a51a31e09050a (diff)
parent9e29ac8ed9a48fc4ac8e769eeb131dd7c58fedc4 (diff)
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 5f2ab026..450053f1 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -2,7 +2,9 @@
# http://docbook.sourceforge.net/release/xsl/current/README
#
-FAKETIME=$(RELEASE_DATE) 00:00:00
+if FAKETIME
+FAKETIME=TZ=UTC faketime -f '$(RELEASE_DATE) 00:00:00 i0'
+endif
RELNOTES_INC=\
release-notes-1.8.7.inc \
@@ -264,9 +266,10 @@ SUFFIXES = .dot .svg .tmpl .xsl .inc .txt .raw .pdf .html
.raw.html:
a2x -a docinfo -f xhtml --xsltproc-opts "--stringparam toc.section.depth 2" --xsl-file $(HTML_STYLE) --stylesheet=$(STYLESHEET) $*.raw
case $* in release-notes*) ./fix-html $*.html ;; esac
+ $(FAKETIME) a2x -a docinfo -f pdf --xsltproc-opts "--stringparam toc.section.depth 2" --xsl-file $(FOP_STYLE) --fop --fop-opts="-c $(FOP_XCONF)" $*.raw
.html.pdf:
- TZ=UTC faketime -f '$(FAKETIME) i0' a2x -a docinfo -f pdf --xsltproc-opts "--stringparam toc.section.depth 2" --xsl-file $(FOP_STYLE) --fop --fop-opts="-c $(FOP_XCONF)" $*.raw
+ echo $@
.tmpl.xsl:
xsltproc --output $@ /usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl $*.tmpl