aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/make_version2
-rwxr-xr-xbuild_tools/prep_moduledeps48
-rwxr-xr-xbuild_tools/prep_tarball3
3 files changed, 3 insertions, 50 deletions
diff --git a/build_tools/make_version b/build_tools/make_version
index 0cde99d21..c69560a95 100755
--- a/build_tools/make_version
+++ b/build_tools/make_version
@@ -3,7 +3,7 @@
if [ -f ${1}/.version ]; then
cat ${1}/.version
elif [ -d .svn ]; then
- PARTS=`LANG=C svn info ${1} | grep URL | awk '{print $2;}' | sed -e 's:^.*/svn/asterisk/::' | sed -e 's:/: :g'`
+ PARTS=`LANG=C svn info ${1} | ${GREP} URL | ${AWK} '{print $2;}' | sed -e 's:^.*/svn/asterisk/::' | sed -e 's:/: :g'`
BRANCH=0
TEAM=0
TAG=0
diff --git a/build_tools/prep_moduledeps b/build_tools/prep_moduledeps
deleted file mode 100755
index 333e8853e..000000000
--- a/build_tools/prep_moduledeps
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-get_description() {
- TDESC=`${GREP} -e AST_MODULE_INFO ${1} | head -n 1 | cut -d '"' -f 2`
-}
-
-process_dir() {
- dir=${1}
- prefix=${2}_
- catsuffix=${3}
- displayname=${4}
-
- printf "\t<category name=\"MENUSELECT_${catsuffix}\" displayname=\"${displayname}\" remove_on_change=\"${dir}/modules.link\">\n"
- for file in `ls ${dir}/${prefix}*.c ${dir}/${prefix}*.cc 2> /dev/null | sort`
- do
- if [ ! -f ${file} ]; then
- continue
- fi
- fname=`basename ${file} .c`
- fname=`basename ${fname} .cc`
- get_description ${file}
- desc=${TDESC}
- printf "\t\t<member name=\"${fname}\" displayname=\"${desc}\" remove_on_change=\"${dir}/${fname}.o ${dir}/${fname}.oo ${dir}/${fname}.so\">\n"
- awk -f build_tools/get_moduleinfo ${file}
- printf "\t\t</member>\n"
- awk -f build_tools/get_makeopts ${file} >> .makeoptstmp
- done
- printf "\t</category>\n"
-}
-
-echo "<?xml version=\"1.0\"?>"
-echo
-echo "<menu name=\"Asterisk Module Selection\">"
-rm -f .makeoptstmp
-process_dir apps app APPS Applications
-process_dir cdr cdr CDR "Call Detail Recording"
-process_dir channels chan CHANNELS "Channel Drivers"
-process_dir codecs codec CODECS "Codec Translators"
-process_dir formats format FORMATS "Format Interpreters"
-process_dir funcs func FUNCS "Dialplan Functions"
-process_dir pbx pbx PBX "PBX Modules"
-process_dir res res RES "Resource Modules"
-cat .makeoptstmp
-cat build_tools/cflags.xml
-cat build_tools/embed_modules.xml
-cat sounds/sounds.xml
-rm -f .makeoptstmp
-echo "</menu>"
diff --git a/build_tools/prep_tarball b/build_tools/prep_tarball
index c2adefc11..b99c4c8f0 100755
--- a/build_tools/prep_tarball
+++ b/build_tools/prep_tarball
@@ -5,4 +5,5 @@
#
# It will be executed from the top-level directory of the project.
-make -C sounds all MENUSELECT_CORE_SOUNDS=CORE-SOUNDS-EN-GSM MENUSELECT_MOH=MOH-FREEPLAY-WAV WGET=wget DOWNLOAD=wget
+make -C sounds MENUSELECT_CORE_SOUNDS=CORE-SOUNDS-EN-GSM MENUSELECT_MOH=MOH-FREEPLAY-WAV WGET=wget DOWNLOAD=wget all
+make AWK=awk GREP=grep menuselect-tree