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