You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
561 B
25 lines
561 B
#!/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
|