aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2017-09-13 21:44:34 +1000
committerSteve Bennett <steveb@workware.net.au>2017-09-13 21:44:34 +1000
commit68df14c54972c633a7c90484145c744bc277a35a (patch)
tree959edd00edb10fd2d4fe7a1b76937c8f76d5423b
parenteceb5c832f5e1a1a3adbc0b4b137efee6b9a8462 (diff)
downloadjimtcl-68df14c54972c633a7c90484145c744bc277a35a.zip
jimtcl-68df14c54972c633a7c90484145c744bc277a35a.tar.gz
jimtcl-68df14c54972c633a7c90484145c744bc277a35a.tar.bz2
docs: Remove Last Modified footer - take 2
More reliable way to remove the footer Reported-by: Bernhard M. Wiedemann <bwiedemann@suse.de> Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r--Makefile.in2
-rw-r--r--auto.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index bd34965..dfbdc4d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -214,7 +214,7 @@ install-docs:
Tcl.html: jim_tcl.txt @srcdir@/make-index
@if HAVE_ASCIIDOC
- @tclsh@ @srcdir@/make-index $> $^ | @ASCIIDOC@ -d manpage - | @GREP@ -v '^Last updated ' >$@
+ @tclsh@ @srcdir@/make-index $> $^ | @ASCIIDOC@ -d manpage - | @SED@ -e '/^<div.*id="footer-text"/,/<\/div>/d' >$@
@else
@echo "asciidoc is not available"; false
@endif
diff --git a/auto.def b/auto.def
index d8d33c3..0625264 100644
--- a/auto.def
+++ b/auto.def
@@ -158,7 +158,7 @@ cc-check-tools ar ranlib strip
define tclsh [info nameofexecutable]
if {[opt-bool docs]} {
- if {[cc-check-progs asciidoc grep]} {
+ if {[cc-check-progs asciidoc sed]} {
define INSTALL_DOCS docs
define HAVE_ASCIIDOC
} else {