summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2011-04-21 17:59:07 -0700
committerShawn O. Pearce <sop@google.com>2011-04-21 17:59:13 -0700
commitbaf8f65af85eecddaee60fb18f5acd8d23b93852 (patch)
tree50731d4b2af8f39e3efb15af5206f880d61021d7
parentf9396951ab0126934634c515e44bc6d27276f4ba (diff)
Remove toc.js from ReleaseNotes buildv2.1.7-rc0
This is no longer required. Change-Id: Ibf9cbaa955225f7cb6e48d240ab3e32faf68691e Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r--ReleaseNotes/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/ReleaseNotes/Makefile b/ReleaseNotes/Makefile
index c9c7c17fe2..219498b5db 100644
--- a/ReleaseNotes/Makefile
+++ b/ReleaseNotes/Makefile
@@ -19,7 +19,6 @@ PUB_ROOT ?= https://gerrit.googlecode.com/svn/ReleaseNotes
DOC_HTML := $(patsubst %.txt,%.html,$(wildcard ReleaseNotes*.txt))
COMMIT := $(shell git describe HEAD | sed s/^v//)
-SCRIPTSDIR := $(shell pwd)/../Documentation/javascript
LOCAL_ROOT := .published
PUB_DIR := $(PUB_ROOT)
@@ -49,17 +48,16 @@ clean:
rm -f *.html
rm -rf $(LOCAL_ROOT)
-index.html: index.txt $(SCRIPTSDIR)/toc.js
+index.html: index.txt
@echo FORMAT $@
@rm -f $@+ $@
@$(ASCIIDOC) --unsafe \
-a toc \
- -a 'scriptsdir=$(SCRIPTSDIR)' \
-b xhtml11 -f asciidoc.conf \
$(ASCIIDOC_EXTRA) -o $@+ $<
@mv $@+ $@
-$(DOC_HTML): %.html : %.txt $(SCRIPTSDIR)/toc.js
+$(DOC_HTML): %.html : %.txt
@echo FORMAT $@
@rm -f $@+ $@
@v=$$(echo $< | sed 's/^ReleaseNotes-//;s/.txt$$//;') && \
@@ -69,7 +67,6 @@ $(DOC_HTML): %.html : %.txt $(SCRIPTSDIR)/toc.js
$(ASCIIDOC) --unsafe \
-a toc \
-a "revision=$$v" \
- -a 'scriptsdir=$(SCRIPTSDIR)' \
-b xhtml11 -f asciidoc.conf \
$(ASCIIDOC_EXTRA) -o $@+ $<
@mv $@+ $@