#!/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