Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/build_tools/prep_tarball
kpfleming e796331236 make this script actually work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137640 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 23:00:37 +00:00

24 lines
793 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-FREEPLAY-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