mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
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 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@137641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user