aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-03 20:20:22 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-03 20:20:22 -0700
commit4b2ea2ca00eea7feea036b7642c0c1443b8f77a1 (patch)
tree5cdd635bd8240a6857258a056e3932e00966bfff /bin
parent6b739739968a0cc9b4d9909d8f4ffec30f4461dd (diff)
removed buggy qsort header and implemented myself
Diffstat (limited to 'bin')
-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'"