File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 15
15
16
16
.PHONY : TAGS.emacs TAGS.vi
17
17
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
19
20
CTAGS_LOCATIONS =$(patsubst ${CFG_SRC_DIR}src/librust% ,, \
20
21
$(patsubst ${CFG_SRC_DIR}src/lib% test,, \
21
22
$(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}
23
27
24
28
TAGS.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}
26
33
27
34
TAGS.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