Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>pull/18/head
parent
79c60593ee
commit
decf98691c
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Load common code
|
||||
. ./internals/_build_common.sh
|
||||
init_common
|
||||
|
||||
#----------------------------
|
||||
# Check for ctags existance
|
||||
if hash ctags 2>/dev/null; then
|
||||
|
||||
# Generate tags
|
||||
if [ ! -d "$TDE_TAGS_DIR" ]; then
|
||||
mkdir "$TDE_TAGS_DIR"
|
||||
fi
|
||||
|
||||
echo "Generating all tags"
|
||||
ctags -f "$TDE_TAGS_DIR/tags.all" "$REPO_TDE_MAIN"
|
||||
|
||||
echo "Generating core tags"
|
||||
ctags -f "$TDE_TAGS_DIR/tags.core" "$REPO_TDE_MAIN/dependencies/tqt3"
|
||||
ctags -a -f "$TDE_TAGS_DIR/tags.core" "$REPO_TDE_MAIN/tdelibs"
|
||||
ctags -a -f "$TDE_TAGS_DIR/tags.core" "$REPO_TDE_MAIN/tdebase"
|
||||
|
||||
fi
|
Loading…
Reference in new issue