aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools/prep_tarball
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-02 22:27:46 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-02 22:27:46 +0000
commit3357366474ad27c72b2f26c759f85c5d34dbdc84 (patch)
tree4c5b7a9ec6daf345dc48805fe38a7d941866ed93 /build_tools/prep_tarball
parent9e3b3287a4eb9ae29bc9e3f808162f3382d404b6 (diff)
* Move LaTeX docs into a tex/ subdirectory of the doc/ dir
* Add a Makefile in doc/tex/ for generating PDF and HTML * Add a README.txt file to doc/tex/ to document which tools are used and what web sites to visit for getting them. * Update build_tools/prep_tarball to put the proper Asterisk version string in the automatically generated PDF for release tarballs git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72982 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools/prep_tarball')
-rwxr-xr-xbuild_tools/prep_tarball4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_tools/prep_tarball b/build_tools/prep_tarball
index dbdbd46b2..d8a55be3d 100755
--- a/build_tools/prep_tarball
+++ b/build_tools/prep_tarball
@@ -9,4 +9,6 @@ make -C sounds all MENUSELECT_CORE_SOUNDS=CORE-SOUNDS-EN-GSM MENUSELECT_MOH=MOH-
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