File: build-doc-without-timestamp-in-footer.patch

package info (click to toggle)
jimtcl 0.76-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,952 kB
  • ctags: 11,224
  • sloc: ansic: 121,739; tcl: 4,275; sh: 4,174; cpp: 1,671; makefile: 240
file content (17 lines) | stat: -rw-r--r-- 720 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: In the asciidoc call, use the '-a footer-style=none' to export
 without the footer; as it contains the build timestamp, which makes the build
 unreproducible.
Last-Update: 2016-02-27
Author: Didier Raboud <odyx@debian.org>

--- a/Makefile.in
+++ b/Makefile.in
@@ -194,7 +194,7 @@
 	$(CC) $(CFLAGS) $(LDFLAGS) $(SHOBJ_LDFLAGS) -o $@ jim-sdl.o $(SH_LIBJIM) @LDLIBS_sdl@
 
 Tcl.html: jim_tcl.txt
-	@tclsh@ @srcdir@/make-index $> $^ | asciidoc -o $@ -d manpage - || cp @srcdir@/Tcl_shipped.html Tcl.html
+	@tclsh@ @srcdir@/make-index $> $^ | asciidoc -o $@ -d manpage -a footer-style=none - || cp @srcdir@/Tcl_shipped.html Tcl.html
 
 clean:
 	rm -f *.o *.so *.dll *.exe lib*.a $(JIMSH) $(LIBJIM) Tcl.html _*.c