[svn-commits] kpfleming: branch 1.6.0 r137641 - in /branches/1.6.0: ./ build_tools/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Aug 13 18:00:56 CDT 2008


Author: kpfleming
Date: Wed Aug 13 18:00:55 2008
New Revision: 137641

URL: http://svn.digium.com/view/asterisk?view=rev&rev=137641
Log:
Merged revisions 137640 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r137640 | kpfleming | 2008-08-13 18:00:37 -0500 (Wed, 13 Aug 2008) | 1 line

make this script actually work
........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/build_tools/prep_tarball

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/build_tools/prep_tarball
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/build_tools/prep_tarball?view=diff&rev=137641&r1=137640&r2=137641
==============================================================================
--- branches/1.6.0/build_tools/prep_tarball (original)
+++ branches/1.6.0/build_tools/prep_tarball Wed Aug 13 18:00:55 2008
@@ -8,11 +8,16 @@
 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`
-# make backup of asterisk.tex because we are going to alter it
-cp asterisk.tex asterisk.tex.orig
-sed -e "s/ASTERISKVERSION/${VERSION}/" doc/tex/asterisk.tex > doc/tex/asterisk_local.tex
-mv asterisk_local.tex asterisk.tex
-cd doc/tex && rubber --pdf asterisk.tex && latex2html asterisk.tex
-# restore backup of asterisk.tex
-mv asterisk.tex.orig asterisk.tex
+cd doc/tex && make_tex_docs




More information about the svn-commits mailing list