Files
asterisk/build_tools/prep_tarball
Kevin P. Fleming 1eedddf810 Merged revisions 212922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r212922 | kpfleming | 2009-08-18 15:29:37 -0500 (Tue, 18 Aug 2009) | 6 lines
  
  Convert this branch to Opsound music-on-hold.
  
  For more details:
  http://blogs.digium.com/2009/08/18/asterisk-music-on-hold-changes/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@212926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-18 20:30:39 +00:00

24 lines
792 B
Bash
Executable File

#!/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-OPSOUND-WAV WGET=wget DOWNLOAD=wget all
make AWK=awk GREP=grep menuselect-tree
make_tex_docs() {
# make backup of asterisk.tex because we are going to alter it
cp asterisk.tex asterisk.tex.orig
sed -e "s/ASTERISKVERSION/${VERSION}/" asterisk.tex > asterisk_local.tex
mv asterisk_local.tex asterisk.tex
rubber --pdf asterisk.tex
latex2html asterisk.tex
# restore backup of asterisk.tex
mv asterisk.tex.orig asterisk.tex
}
VERSION=`cat .version`
cd doc/tex && make_tex_docs