Script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1183,6 +1183,7 @@ samples/taskbar/*.def
|
|||||||
samples/taskbar/*.bmp
|
samples/taskbar/*.bmp
|
||||||
samples/taskbar/*.ico
|
samples/taskbar/*.ico
|
||||||
samples/taskbar/*.txt
|
samples/taskbar/*.txt
|
||||||
|
samples/taskbar/*.xpm
|
||||||
|
|
||||||
samples/text/*.cpp
|
samples/text/*.cpp
|
||||||
samples/text/*.h
|
samples/text/*.h
|
||||||
|
@@ -159,6 +159,32 @@ docopydocs()
|
|||||||
cp $WXSRC/docs/os2/install.txt $WXDEST/install-os2-${WXVER}.txt
|
cp $WXSRC/docs/os2/install.txt $WXDEST/install-os2-${WXVER}.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dospindocs()
|
||||||
|
{
|
||||||
|
mkdir -p $WXSRC/docs/html/wx
|
||||||
|
mkdir -p $WXSRC/docs/html/tex2rtf
|
||||||
|
mkdir -p $WXSRC/docs/html/fl
|
||||||
|
mkdir -p $WXSRC/docs/html/ogl
|
||||||
|
mkdir -p $WXSRC/docs/htb
|
||||||
|
|
||||||
|
rm -f -r $WXSRC/docs/html/wx/*.htm*
|
||||||
|
rm -f -r $WXSRC/docs/htb/wx.htb
|
||||||
|
|
||||||
|
echo Making HTML wxWidgets manual...
|
||||||
|
cd $WXSRC/docs/latex/wx
|
||||||
|
cp *.gif $WXSRC/docs/html/wx
|
||||||
|
tex2rtf manual.tex $WXSRC/docs/html/wx/wx.htm -twice -html
|
||||||
|
|
||||||
|
echo Making HTB wxWidgets manual...
|
||||||
|
cd $WXSRC/docs/html/wx
|
||||||
|
zip -q $WXSRC/docs/htb/wx.htb *.html *.gif *.hhp *.hhc *.hhk
|
||||||
|
|
||||||
|
echo Archiving manuals...
|
||||||
|
# TODO
|
||||||
|
|
||||||
|
echo Done making manuals.
|
||||||
|
}
|
||||||
|
|
||||||
PROGNAME=$0
|
PROGNAME=$0
|
||||||
WXSRC=$1
|
WXSRC=$1
|
||||||
WXDEST=$2
|
WXDEST=$2
|
||||||
@@ -169,6 +195,7 @@ SPINWXGTK=0
|
|||||||
SPINWXMOTIF=0
|
SPINWXMOTIF=0
|
||||||
SPINWXMAC=0
|
SPINWXMAC=0
|
||||||
SPINWXBASE=0
|
SPINWXBASE=0
|
||||||
|
SPINDOCS=0
|
||||||
SPINEVERYTHING=0
|
SPINEVERYTHING=0
|
||||||
UPDATECVS=0
|
UPDATECVS=0
|
||||||
|
|
||||||
@@ -182,6 +209,7 @@ usage()
|
|||||||
echo " --wxx11 Spin wxX11"
|
echo " --wxx11 Spin wxX11"
|
||||||
echo " --wxmotif Spin wxMotif"
|
echo " --wxmotif Spin wxMotif"
|
||||||
echo " --wxmac Spin wxMac"
|
echo " --wxmac Spin wxMac"
|
||||||
|
echo " --docs Spin docs"
|
||||||
echo " --all Spin EVERYTHING"
|
echo " --all Spin EVERYTHING"
|
||||||
echo " --updatecvs Update from CVS"
|
echo " --updatecvs Update from CVS"
|
||||||
|
|
||||||
@@ -251,4 +279,8 @@ if [ "$SPINWXMAC" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
|
|||||||
dospinwxmac
|
dospinwxmac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$SPINDOCS" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
|
||||||
|
dospindocs
|
||||||
|
fi
|
||||||
|
|
||||||
docopydocs
|
docopydocs
|
||||||
|
@@ -251,6 +251,22 @@ else
|
|||||||
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-VC.zip"
|
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-VC.zip"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If we have the full set of eVC++ project files,
|
||||||
|
# get them
|
||||||
|
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-eVC.zip ]; then
|
||||||
|
unzip -o $WXDEST/extra/wxWidgets-${WXVER}-eVC.zip
|
||||||
|
else
|
||||||
|
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-eVC.zip"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If we have the full set of DMC project files,
|
||||||
|
# get them
|
||||||
|
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-DMC.zip ]; then
|
||||||
|
unzip -o $WXDEST/extra/wxWidgets-${WXVER}-DMC.zip
|
||||||
|
else
|
||||||
|
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-DMC.zip"
|
||||||
|
fi
|
||||||
|
|
||||||
# If we have the full set of Mac CW project files,
|
# If we have the full set of Mac CW project files,
|
||||||
# get them
|
# get them
|
||||||
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-CW-Mac.zip ]; then
|
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-CW-Mac.zip ]; then
|
||||||
@@ -288,8 +304,34 @@ gzip -c $WXDEST/wxAll-${WXVER}.tar > $WXDEST/wxAll-${WXVER}.tar.gz
|
|||||||
bzip2 $WXDEST/wxAll-${WXVER}.tar
|
bzip2 $WXDEST/wxAll-${WXVER}.tar
|
||||||
}
|
}
|
||||||
|
|
||||||
|
domakedocs()
|
||||||
|
{
|
||||||
|
mkdir -p $WXSRC/docs/html/wx
|
||||||
|
mkdir -p $WXSRC/docs/html/tex2rtf
|
||||||
|
mkdir -p $WXSRC/docs/html/fl
|
||||||
|
mkdir -p $WXSRC/docs/html/ogl
|
||||||
|
mkdir -p $WXSRC/docs/htb
|
||||||
|
|
||||||
|
rm -f -r $WXSRC/docs/html/wx/*.htm*
|
||||||
|
rm -f -r $WXSRC/docs/htb/wx.htb
|
||||||
|
|
||||||
|
echo Making HTML wxWidgets manual...
|
||||||
|
cd $WXSRC/docs/latex/wx
|
||||||
|
cp *.gif $WXSRC/docs/html/wx
|
||||||
|
tex2rtf manual.tex $WXSRC/docs/html/wx/wx.htm -twice -html
|
||||||
|
|
||||||
|
echo Making HTB wxWidgets manual...
|
||||||
|
cd $WXSRC/docs/html/wx
|
||||||
|
zip -q $WXSRC/docs/htb/wx.htb *.html *.gif *.hhp *.hhc *.hhk
|
||||||
|
|
||||||
|
echo Done making manuals.
|
||||||
|
}
|
||||||
|
|
||||||
dospinwxdocs()
|
dospinwxdocs()
|
||||||
{
|
{
|
||||||
|
# First make the docs
|
||||||
|
domakedocs
|
||||||
|
|
||||||
echo Tarring wxDocs...
|
echo Tarring wxDocs...
|
||||||
|
|
||||||
### Doc sources
|
### Doc sources
|
||||||
|
@@ -1,10 +1,11 @@
|
|||||||
docs/html/*.htm
|
docs/html/*.htm
|
||||||
docs/html/*.gif
|
docs/html/*.gif
|
||||||
|
|
||||||
docs/html/wx/*.htm
|
docs/html/wx/*.html
|
||||||
docs/html/wx/*.gif
|
docs/html/wx/*.gif
|
||||||
|
|
||||||
docs/html/tex2rtf/*.htm
|
docs/html/tex2rtf/*.htm
|
||||||
|
docs/html/tex2rtf/*.html
|
||||||
docs/html/tex2rtf/*.gif
|
docs/html/tex2rtf/*.gif
|
||||||
|
|
||||||
docs/html/odbc/*.htm
|
docs/html/odbc/*.htm
|
||||||
@@ -12,9 +13,6 @@ docs/html/odbc/*.htm
|
|||||||
docs/html/gettext/*.html
|
docs/html/gettext/*.html
|
||||||
|
|
||||||
contrib/docs/html/ogl/*.htm
|
contrib/docs/html/ogl/*.htm
|
||||||
|
contrib/docs/html/ogl/*.html
|
||||||
contrib/docs/html/ogl/*.gif
|
contrib/docs/html/ogl/*.gif
|
||||||
contrib/docs/html/mmedia/*.htm
|
|
||||||
contrib/docs/html/mmedia/*.gif
|
|
||||||
contrib/docs/html/stc/*.htm
|
|
||||||
contrib/docs/html/stc/*.gif
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user