DEB build scripts: removed support for ctags.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/68/head
Michele Calgaro 4 years ago
parent e0b542a5db
commit 35791f1c76
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,24 +0,0 @@
#!/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

@ -69,7 +69,6 @@ function _set_path_variables()
BUILD_DIR="$TDE_DIR/$CFG_BUILD_DIR" BUILD_DIR="$TDE_DIR/$CFG_BUILD_DIR"
TDE_BUILD_DIR="$BUILD_DIR/build" TDE_BUILD_DIR="$BUILD_DIR/build"
TDE_DEBS_DIR="$BUILD_DIR/debs" TDE_DEBS_DIR="$BUILD_DIR/debs"
TDE_TAGS_DIR="$BUILD_DIR/tags"
HOOK_DIR="$TDE_DIR/$CFG_GIT_DIR/$CFG_HOOKS_DIR" HOOK_DIR="$TDE_DIR/$CFG_GIT_DIR/$CFG_HOOKS_DIR"

@ -31,9 +31,6 @@ for ((idx=1; idx<=$#; idx++)); do
else else
((idx--)) ((idx--))
fi fi
elif [ "$arg" = "-st" ]; then # skip ctags generation (Skip Tags)
flag_SKIP_TAGS="y"
fi
done done
# Load common code # Load common code
@ -266,9 +263,3 @@ fi
# Update completed # Update completed
[ -f "$UPDATE_LOCK_FILENAME" ] && rm "$UPDATE_LOCK_FILENAME" [ -f "$UPDATE_LOCK_FILENAME" ] && rm "$UPDATE_LOCK_FILENAME"
cd $SCRIPT_DIR cd $SCRIPT_DIR
# Generate ctags
if [ "$flag_SKIP_TAGS" != "y" ]; then
$SCRIPT_DIR/generate_tags.sh
fi

Loading…
Cancel
Save