about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-10-02 03:33:00 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2014-10-02 03:34:14 +0200
commit9115a7353cddb5600cc36c1d37f1722bd0bd71d3 (patch)
tree81abe40df50f532483a8ae932e91a8883682bf34
parent07b2c1be9dad53272575844efedfb7314fc4fb84 (diff)
downloadrust-9115a7353cddb5600cc36c1d37f1722bd0bd71d3.tar.gz
rust-9115a7353cddb5600cc36c1d37f1722bd0bd71d3.zip
Fix `make TAGS.vi` target
Remove superfluous parentheses from the CTAGS_LOCATIONS expression.
Fixes the following error when executing `make TAGS.vi`:

    /bin/sh: -c: line 0: syntax error near unexpected token `)'
-rw-r--r--mk/ctags.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/ctags.mk b/mk/ctags.mk
index 93a04e4c93f..44a16d556be 100644
--- a/mk/ctags.mk
+++ b/mk/ctags.mk
@@ -28,7 +28,7 @@ CTAGS_LOCATIONS=$(patsubst ${CFG_SRC_DIR}src/llvm,, \
 				$(patsubst ${CFG_SRC_DIR}src/rt/sundown,, \
 				$(patsubst ${CFG_SRC_DIR}src/rt/vg,, \
 				$(wildcard ${CFG_SRC_DIR}src/*) $(wildcard ${CFG_SRC_DIR}src/rt/*) \
-				)))))))))))
+				)))))))))
 CTAGS_OPTS=--options="${CFG_SRC_DIR}src/etc/ctags.rust" --languages=-javascript --recurse ${CTAGS_LOCATIONS}
 # We could use `--languages=Rust`, but there is value in producing tags for the
 # C++ parts of the code base too (at the time of writing, those are .h and .cpp