提交 8be944e8 编写于 作者: B Brian Anderson

doc: Remove unused keywords.txt

上级 31ff64c6
## 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
......@@ -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)))
......
......@@ -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)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册