doc: Remove unused keywords.txt

This commit is contained in:
Brian Anderson 2012-04-19 20:06:13 -07:00
parent 31ff64c62d
commit 8be944e89e
3 changed files with 3 additions and 27 deletions

View File

@ -1,19 +0,0 @@
## Add Rust keywords here. Lines start with '#' are ignored
alt any as assert
be bind break
check claim class const cont copy crust
do
else enum export
fail false fn for
if iface impl import
let log loop
mod move mut
native new
of
priv pure
resource ret
self send
tag to trait true type
unchecked unsafe use
while with

View File

@ -45,7 +45,6 @@ clean-misc:
$(wildcard doc/*.$(ext) \
doc/*/*.$(ext) \
doc/*/*/*.$(ext)))
$(Q)rm -Rf doc/keywords.md
$(Q)rm -Rf doc/version.md
$(Q)rm -Rf $(foreach sub, index styles files search javascript, \
$(wildcard doc/*/$(sub)))

View File

@ -21,7 +21,7 @@ doc/rust.css: rust.css
$(Q)cp -a $< $@ 2> /dev/null
DOCS += doc/rust.html
doc/rust.html: rust.md doc/version.md doc/keywords.md doc/rust.css
doc/rust.html: rust.md doc/version.md doc/rust.css
@$(call E, pandoc: $@)
$(Q)$(CFG_NODE) $(S)doc/prep.js --highlight $< | \
"$(CFG_PANDOC)" \
@ -44,7 +44,7 @@ doc/rust.html: rust.md doc/version.md doc/keywords.md doc/rust.css
else
DOCS += doc/rust.pdf
doc/rust.tex: rust.md doc/version.md doc/keywords.md
doc/rust.tex: rust.md doc/version.md
@$(call E, pandoc: $@)
$(Q)$(CFG_NODE) $(S)doc/prep.js $< | \
"$(CFG_PANDOC)" \
@ -145,10 +145,6 @@ doc/version.md: $(MKFILE_DEPS) rust.md
@$(call E, version-stamp: $@)
$(Q)echo "$(CFG_VERSION)" >$@
doc/keywords.md: $(S)doc/keywords.txt $(MKFILE_DEPS) rust.md
@$(call E, grep -v: $$@)
$(Q)grep -v '^#' $< >$@
GENERATED += doc/keywords.md doc/version.md
GENERATED += doc/version.md
docs: $(DOCS)