aboutsummaryrefslogtreecommitdiff
path: root/bin/gentags
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gentags')
-rwxr-xr-xbin/gentags3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/gentags b/bin/gentags
index f0494f0..f398349 100755
--- a/bin/gentags
+++ b/bin/gentags
@@ -10,10 +10,11 @@ echo "finding files ..."
ROOT=/home/nolln/root
find $ROOT \
-path "$ROOT/sys/*.[chs]" -prune -o \
+ -path "$ROOT/vendor/musl/src/*.[chs]" -prune -o \
-path "$ROOT/include/*.h" > "$CSCOPE_DIR/files"
echo "adding files to cscope db: $ROOT/cscope.db ..."
-cscope -b -i "$CSCOPE_DIR/files"
+cscope -b -k -I include/vendor/libc -I include/ -i "$CSCOPE_DIR/files"
CSCOPE_DB="$ROOT/cscope.out"
echo "exported CSCOPE_DB to: '$CSCOPE_DB'"