Merged revisions 84474 via svnmerge from
[asterisk/asterisk.git] / build_tools / prep_tarball
index dbdbd46..9c0dd22 100755 (executable)
@@ -7,6 +7,6 @@
 
 make -C sounds all MENUSELECT_CORE_SOUNDS=CORE-SOUNDS-EN-GSM MENUSELECT_MOH=MOH-FREEPLAY-WAV WGET=wget DOWNLOAD=wget
 
-make menuselect-tree
-
-cd doc && rubber --pdf asterisk.tex
+VERSION=`cat .version`
+sed -i -e "s/ASTERISKVERSION/${VERSION}/" doc/tex/asterisk.tex
+cd doc/tex && rubber --pdf asterisk.tex