debian: Documentation: omit asciidoc footer on generated input
[git/debian.git] / debian / patches / Documentation-omit-asciidoc-footer-on-generated-input.diff
blob1348478765ee76067529cb789a1b0527496f6e3f
1 From c7eb23292ad5ac036e58dd14912220d2c176d863 Mon Sep 17 00:00:00 2001
2 From: Anders Kaseorg <andersk@mit.edu>
3 Date: Sat, 5 Nov 2016 03:53:20 -0400
4 Subject: Documentation: omit asciidoc footer on generated input
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Since these asciidoc inputs are generated at build time, the contents
10 of the resulting footer was “Last updated: <build timestamp>”.
11 Disable it for build reproducibility.
13 Signed-off-by: Anders Kaseorg <andersk@mit.edu>
14 ---
15 Documentation/Makefile | 2 ++
16 1 file changed, 2 insertions(+)
18 diff --git a/Documentation/Makefile b/Documentation/Makefile
19 index b43d66eae..28b85d02e 100644
20 --- a/Documentation/Makefile
21 +++ b/Documentation/Makefile
22 @@ -340,6 +340,8 @@ user-manual.xml: user-manual.txt user-manual.conf
23 $(TXT_TO_XML) -d article -o $@+ $< && \
24 mv $@+ $@
26 +technical/api-index.html howto-index.html howto/%.html: ASCIIDOC_EXTRA += --attribute footer-style=none
28 technical/api-index.txt: technical/api-index-skel.txt \
29 technical/api-index.sh $(patsubst %,%.txt,$(API_DOCS))
30 $(QUIET_GEN)cd technical && '$(SHELL_PATH_SQ)' ./api-index.sh
31 --
32 2.11.0.rc0