+ nmake -f makefile.vc html htmlhelp htb hlp pdfrtf
+}
+
+# TODO: Make PDF via Word, if Word and Adobe Acrobat are present.
+# This has to be interactive at present.
+build_pdf() {
+ echo "---------------------------------"
+ echo "Building wxWindows 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"
+ else
+ echo MS Word not present. Not doing PDF build.
+ fi