Skip to content

Commit 8be944e

Browse files
committed
doc: Remove unused keywords.txt
1 parent 31ff64c commit 8be944e

File tree

3 files changed

+3
-27
lines changed

3 files changed

+3
-27
lines changed

doc/keywords.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

mk/clean.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ clean-misc:
4545
$(wildcard doc/*.$(ext) \
4646
doc/*/*.$(ext) \
4747
doc/*/*/*.$(ext)))
48-
$(Q)rm -Rf doc/keywords.md
4948
$(Q)rm -Rf doc/version.md
5049
$(Q)rm -Rf $(foreach sub, index styles files search javascript, \
5150
$(wildcard doc/*/$(sub)))

mk/docs.mk

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ doc/rust.css: rust.css
2121
$(Q)cp -a $< $@ 2> /dev/null
2222

2323
DOCS += doc/rust.html
24-
doc/rust.html: rust.md doc/version.md doc/keywords.md doc/rust.css
24+
doc/rust.html: rust.md doc/version.md doc/rust.css
2525
@$(call E, pandoc: $@)
2626
$(Q)$(CFG_NODE) $(S)doc/prep.js --highlight $< | \
2727
"$(CFG_PANDOC)" \
@@ -44,7 +44,7 @@ doc/rust.html: rust.md doc/version.md doc/keywords.md doc/rust.css
4444
else
4545

4646
DOCS += doc/rust.pdf
47-
doc/rust.tex: rust.md doc/version.md doc/keywords.md
47+
doc/rust.tex: rust.md doc/version.md
4848
@$(call E, pandoc: $@)
4949
$(Q)$(CFG_NODE) $(S)doc/prep.js $< | \
5050
"$(CFG_PANDOC)" \
@@ -145,10 +145,6 @@ doc/version.md: $(MKFILE_DEPS) rust.md
145145
@$(call E, version-stamp: $@)
146146
$(Q)echo "$(CFG_VERSION)" >$@
147147

148-
doc/keywords.md: $(S)doc/keywords.txt $(MKFILE_DEPS) rust.md
149-
@$(call E, grep -v: $$@)
150-
$(Q)grep -v '^#' $< >$@
151-
152-
GENERATED += doc/keywords.md doc/version.md
148+
GENERATED += doc/version.md
153149

154150
docs: $(DOCS)

0 commit comments

Comments
 (0)