X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1d93f0beeec9d88f8a225aa35a9ccc163dcdb15..29eb129aecb112de5af7b6d86163cfe72c0b8fb8:/distrib/msw/makedist.sh diff --git a/distrib/msw/makedist.sh b/distrib/msw/makedist.sh index 92a4e56fe1..f0e62df846 100644 --- a/distrib/msw/makedist.sh +++ b/distrib/msw/makedist.sh @@ -1,7 +1,7 @@ -#! /bin/sh +#! /bin/bash # makedist.sh # -# Build wxWindows 2 for Windows distribution. +# Build wxWidgets 2 for Windows distribution. # This builds all required binaries and documents before calling # zipdist.sh to make the archives. # @@ -19,7 +19,7 @@ # - update the readmes, change log, manual version etc. # - update version.h # - update distrib/msw/wisetop.txt, wisebott.txt with the correct version -# number, plus any hard-wired wxWindows paths +# number, plus any hard-wired wxWidgets paths # - test on a variety of compilers # # TODO: @@ -96,12 +96,9 @@ check_files() { build_docs() { cd "$SRC/src/msw" echo "---------------------------------" - echo "Building wxWindows documents" + echo "Building wxWidgets documents" nmake -f makefile.vc cleandocs docs - cd "$SRC/utils/dialoged/src" - nmake -f makefile.vc html htmlhelp htb hlp pdfrtf - cd "$SRC/utils/tex2rtf/src" nmake -f makefile.vc html htmlhelp htb hlp pdfrtf @@ -116,10 +113,9 @@ build_docs() { # This has to be interactive at present. build_pdf() { echo "---------------------------------" - echo "Building wxWindows PDF documents" + echo "Building wxWidgets PDF documents" if [ -e "$WORDEXE" ]; then "$WORDEXE" "$WXWIN\\docs\\pdf\\wx.rtf" - "$WORDEXE" "$WXWIN\\docs\\pdf\\dialoged.rtf" "$WORDEXE" "$WXWIN\\docs\\pdf\\tex2rtf.rtf" "$WORDEXE" "$WXWIN\\contrib\\docs\\pdf\\ogl.rtf" "$WORDEXE" "$WXWIN\\contrib\\docs\\mmedia\\ogl.rtf" @@ -128,25 +124,16 @@ build_pdf() { fi } -# Build wxWindows +# Build wxWidgets build_wxwin_vc() { echo "---------------------------------" - echo "Building wxWindows using VC++" + echo "Building wxWidgets using VC++" cd "$SRC/src" - echo Building wxWindows Release library in `pwd` + echo Building wxWidgets Release library in `pwd` echo Command: msdev wxvc.dsw /useenv /make "wxvc - Win32 Release" /rebuild msdev wxvc.dsw /useenv /make "wxvc - Win32 Release" /rebuild | egrep -v "$WARNINGS" } -build_dialog_editor() { - echo "---------------------------------" - echo "Building Dialog Editor using VC++" - cd "$SRC/utils/dialoged/src" - msdev DialogEdVC.dsw /useenv /make "DialogEdVC - Win32 Release" /rebuild | egrep -v "$WARNINGS" | tee $TMPDIR/buildlog.txt - - check_compile "Dialog Editor" -} - build_tex2rtf() { echo "---------------------------------" echo "Building Tex2RTF using VC++" @@ -166,15 +153,11 @@ build_life() { } build_executables() { - build_dialog_editor build_tex2rtf build_life } copy_files() { - cp "$SRC/utils/dialoged/src/Release/dialoged.exe" "$SRC/bin" - cp "$SRC/docs/winhelp/dialoged.hlp" "$SRC/docs/winhelp/dialoged.cnt" "$SRC/bin" - cp "$SRC/utils/tex2rtf/src/Release/tex2rtf.exe" "$SRC/bin" cp "$SRC/docs/winhelp/tex2rtf.hlp" "$SRC/docs/winhelp/tex2rtf.cnt" "$SRC/bin"