File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1515
1616.PHONY : TAGS.emacs TAGS.vi
1717
18- CTAGS_LOCATIONS =$(wildcard ${CFG_SRC_DIR}src/lib* )
18+ CTAGS_RUSTC_LOCATIONS =$(patsubst ${CFG_SRC_DIR}src/lib% test,, \
19+ $(wildcard ${CFG_SRC_DIR}src/lib* ) ) ${CFG_SRC_DIR}src/libtest
1920CTAGS_LOCATIONS =$(patsubst ${CFG_SRC_DIR}src/librust% ,, \
2021 $(patsubst ${CFG_SRC_DIR}src/lib% test,, \
2122 $(wildcard ${CFG_SRC_DIR}src/lib* ) ) ) ${CFG_SRC_DIR}src/libtest
22- CTAGS_OPTS=--options ="${CFG_SRC_DIR}src/etc/ctags.rust" --languages=Rust --recurse ${CTAGS_LOCATIONS}
23+ CTAGS_OPTS=--options ="${CFG_SRC_DIR}src/etc/ctags.rust" --languages=Rust --recurse
24+
25+ TAGS.rustc.emacs :
26+ ctags -e -f $@ ${CTAGS_OPTS} ${CTAGS_RUSTC_LOCATIONS}
2327
2428TAGS.emacs :
25- ctags -e -f $@ ${CTAGS_OPTS}
29+ ctags -e -f $@ ${CTAGS_OPTS} ${CTAGS_LOCATIONS}
30+
31+ TAGS.rustc.vi :
32+ ctags -f $@ ${CTAGS_OPTS} ${CTAGS_RUSTC_LOCATIONS}
2633
2734TAGS.vi :
28- ctags -f $@ ${CTAGS_OPTS}
35+ ctags -f $@ ${CTAGS_OPTS} ${CTAGS_LOCATIONS}
You can’t perform that action at this time.
0 commit comments