aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/build_tools/prep_tarball
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/build_tools/prep_tarball')
-rwxr-xr-xtrunk/build_tools/prep_tarball13
1 files changed, 13 insertions, 0 deletions
diff --git a/trunk/build_tools/prep_tarball b/trunk/build_tools/prep_tarball
new file mode 100755
index 000000000..5877a8a7b
--- /dev/null
+++ b/trunk/build_tools/prep_tarball
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+# This script will be executed by the 'mkrelease' script to do any tasks
+# necessary during tarball creation of this project.
+#
+# It will be executed from the top-level directory of the project.
+
+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
+
+VERSION=`cat .version`
+sed -i -e "s/ASTERISKVERSION/${VERSION}/" doc/tex/asterisk.tex
+cd doc/tex && rubber --pdf asterisk.tex && latex2html asterisk.tex