-# File: makedocs.vc
-#
-# Author: Julian Smart
-# Created: 1997
-# Updated:
-# Copyright: (c) 1997, Julian Smart
-
-WXDIR=$(WXWIN)
-THISDIR=$(WXWIN)\build\script
-DOCDIR = $(WXDIR)\docs
-WAITFLAG=/w
-
-# Making documents
-docs: wxhlp rtf pdfrtf wxhtml htmlhelp htb tex2rtf
-alldocs: docs
-hlp: wxhlp
-wxhlp: $(DOCDIR)/winhelp/wx.hlp
-rtf: $(DOCDIR)/latex/wx/wx.rtf
-pdfrtf: $(DOCDIR)/pdf/wx.rtf
-html: wxhtml
-htb: $(DOCDIR)\htb\wx.htb
-wxhtml: $(DOCDIR)\html\wx\wx_contents.html
-htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
-
-tex2rtf:
- cd $(WXWIN)\utils\tex2rtf\docs
- nmake -f makefile.vc
- cd $(THISDIR)
-
-
-$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
- cd $(DOCDIR)/latex/wx
- -mkdir $(DOCDIR)\winhelp
- -erase wx.ph
- hcw /c /e wx
- -erase $(DOCDIR)\winhelp\wx.hlp
- -erase $(DOCDIR)\winhelp\wx.cnt
- move wx.hlp $(DOCDIR)\winhelp\wx.hlp
- move wx.cnt $(DOCDIR)\winhelp\wx.cnt
- cd $(THISDIR)
-
-$(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
- cd $(DOCDIR)\latex\wx
- -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
- cd $(THISDIR)
-
-$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
- cd $(DOCDIR)\latex\wx
- -mkdir $(DOCDIR)\pdf
- -copy *.wmf $(DOCDIR)\pdf
- -copy *.bmp $(DOCDIR)\pdf
- -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
- cd $(THISDIR)
-
-# This target does two sets of HTML: one using a style sheet, for
-# the purposes of the CHM file, and one without.
-$(DOCDIR)\html\wx\wx_contents.html: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex
- cd $(DOCDIR)\latex\wx
- -mkdir $(DOCDIR)\html\wx
- copy *.gif $(DOCDIR)\html\wx
- -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
- -mkdir $(DOCDIR)\mshtml
- -mkdir $(DOCDIR)\mshtml\wx
- copy *.gif $(DOCDIR)\mshtml\wx
- -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\mshtml\wx\wx.htm -twice -html -macros $(DOCDIR)\latex\wx\tex2rtf_css.ini
- -erase $(DOCDIR)\html\wx\*.con
- -erase $(DOCDIR)\html\wx\*.ref
- -erase $(DOCDIR)\latex\wx\*.con
- -erase $(DOCDIR)\latex\wx\*.ref
- cd $(THISDIR)
-
-$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx_contents.html $(DOCDIR)\mshtml\wx\wx_contents.html $(DOCDIR)\mshtml\wx\wx.hhp
- cd $(DOCDIR)\mshtml\wx
- copy $(DOCDIR)\latex\wx\wx.css .
- -hhc wx.hhp
- -mkdir ..\..\htmlhelp
- -erase $(DOCDIR)\htmlhelp\wx.chm
- move wx.chm ..\..\htmlhelp
- cd $(THISDIR)
-
-
-
-# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
-# files, renamed to htb.
-# This can then be used with e.g. helpview.
-# Optionally, a cached version of the .hhp file can be generated with hhp2cached.
-$(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx_contents.html
- cd $(WXDIR)\docs\html\wx
- -erase wx.zip wx.htb
- zip wx.zip *.html *.gif *.hhp *.hhc *.hhk
- -mkdir $(DOCDIR)\htb
- move wx.zip $(DOCDIR)\htb\wx.htb
- cd $(THISDIR)
-
-# In order to force document reprocessing
-touchmanual:
- -touch $(WXDIR)\docs\latex\wx\manual.tex
-
-updatedocs: touchmanual alldocs
-
-cleandocs:
- -erase $(DOCDIR)\winhelp\*.hlp
- -erase $(DOCDIR)\winhelp\*.cnt
- -erase $(DOCDIR)\html\wx\*.html
- -erase $(DOCDIR)\mshtml\wx\*.html
- -erase $(DOCDIR)\mshtml\wx\*.gif
- -erase $(DOCDIR)\mshtml\wx\wx.*
- -erase $(DOCDIR)\pdf\wx.rtf
- -erase $(DOCDIR)\latex\wx\wx.rtf
- -erase $(DOCDIR)\latex\wx\WX.PH
- -erase $(DOCDIR)\htmlhelp\wx.chm
- -erase $(DOCDIR)\htb\wx.htb
-
-
-# Only clean the online help, not PDF RTF
-cleanonlinehelp:
- -erase $(DOCDIR)\winhelp\wx.hlp
- -erase $(DOCDIR)\winhelp\wx.cnt
- -erase $(DOCDIR)\html\wx\*.html
- -erase $(DOCDIR)\latex\wx\wx.rtf
- -erase $(DOCDIR)\latex\wx\WX.PH
- -erase $(DOCDIR)\latex\wx\wx.hpj
- -erase $(DOCDIR)\htmlhelp\wx.chm
- -erase $(DOCDIR)\mshtml\wx\*.html
- -erase $(DOCDIR)\htb\wx.htb
-
-
-
+# File: makedocs.vc\r
+# \r
+# Author: Julian Smart\r
+# Created: 1997\r
+# Updated:\r
+# Copyright: (c) 1997, Julian Smart\r
+\r
+WXDIR=$(WXWIN)\r
+THISDIR=$(WXWIN)\build\script\r
+DOCDIR = $(WXDIR)\docs\r
+WAITFLAG=/w\r
+\r
+# Making documents\r
+docs: wxhlp rtf pdfrtf wxhtml htmlhelp htb tex2rtf\r
+alldocs: docs\r
+hlp: wxhlp\r
+wxhlp: $(DOCDIR)/winhelp/wx.hlp\r
+rtf: $(DOCDIR)/latex/wx/wx.rtf\r
+pdfrtf: $(DOCDIR)/pdf/wx.rtf\r
+html: wxhtml\r
+htb: $(DOCDIR)\htb\wx.htb\r
+wxhtml: $(DOCDIR)\html\wx\wx_contents.html\r
+htmlhelp: $(DOCDIR)\htmlhelp\wx.chm\r
+\r
+tex2rtf:\r
+ cd $(WXWIN)\utils\tex2rtf\docs\r
+ nmake -f makefile.vc\r
+ cd $(THISDIR)\r
+\r
+\r
+$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj\r
+ cd $(DOCDIR)/latex/wx\r
+ -mkdir $(DOCDIR)\winhelp\r
+ -erase wx.ph\r
+ hcw /c /e wx\r
+ -erase $(DOCDIR)\winhelp\wx.hlp\r
+ -erase $(DOCDIR)\winhelp\wx.cnt\r
+ move wx.hlp $(DOCDIR)\winhelp\wx.hlp\r
+ move wx.cnt $(DOCDIR)\winhelp\wx.cnt\r
+ cd $(THISDIR)\r
+\r
+$(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex\r
+ cd $(DOCDIR)\latex\wx\r
+ -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp\r
+ cd $(THISDIR)\r
+\r
+$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex\r
+ cd $(DOCDIR)\latex\wx\r
+ -mkdir $(DOCDIR)\pdf\r
+ -copy *.wmf $(DOCDIR)\pdf\r
+ -copy *.bmp $(DOCDIR)\pdf\r
+ -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf\r
+ cd $(THISDIR)\r
+\r
+# This target does two sets of HTML: one using a style sheet, for\r
+# the purposes of the CHM file, and one without.\r
+$(DOCDIR)\html\wx\wx_contents.html: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex\r
+ cd $(DOCDIR)\latex\wx\r
+ -mkdir $(DOCDIR)\html\wx\r
+ copy *.gif $(DOCDIR)\html\wx\r
+ -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html\r
+ -mkdir $(DOCDIR)\mshtml\r
+ -mkdir $(DOCDIR)\mshtml\wx\r
+ copy *.gif $(DOCDIR)\mshtml\wx\r
+ -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\mshtml\wx\wx.htm -twice -html -macros $(DOCDIR)\latex\wx\tex2rtf_css.ini\r
+ -erase $(DOCDIR)\html\wx\*.con\r
+ -erase $(DOCDIR)\html\wx\*.ref\r
+ -erase $(DOCDIR)\latex\wx\*.con\r
+ -erase $(DOCDIR)\latex\wx\*.ref\r
+ cd $(THISDIR)\r
+\r
+$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx_contents.html $(DOCDIR)\mshtml\wx\wx_contents.html $(DOCDIR)\mshtml\wx\wx.hhp\r
+ cd $(DOCDIR)\mshtml\wx\r
+ copy $(DOCDIR)\latex\wx\wx.css .\r
+ -hhc wx.hhp\r
+ -mkdir ..\..\htmlhelp\r
+ -erase $(DOCDIR)\htmlhelp\wx.chm\r
+ move wx.chm ..\..\htmlhelp\r
+ cd $(THISDIR)\r
+\r
+\r
+\r
+# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk\r
+# files, renamed to htb.\r
+# This can then be used with e.g. helpview.\r
+# Optionally, a cached version of the .hhp file can be generated with hhp2cached.\r
+$(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx_contents.html\r
+ cd $(WXDIR)\docs\html\wx\r
+ -erase wx.zip wx.htb\r
+ zip wx.zip *.html *.gif *.hhp *.hhc *.hhk\r
+ -mkdir $(DOCDIR)\htb\r
+ move wx.zip $(DOCDIR)\htb\wx.htb\r
+ cd $(THISDIR)\r
+\r
+# In order to force document reprocessing\r
+touchmanual:\r
+ -touch $(WXDIR)\docs\latex\wx\manual.tex\r
+\r
+updatedocs: touchmanual alldocs\r
+\r
+cleandocs:\r
+ -erase $(DOCDIR)\winhelp\*.hlp\r
+ -erase $(DOCDIR)\winhelp\*.cnt \r
+ -erase $(DOCDIR)\html\wx\*.html\r
+ -erase $(DOCDIR)\mshtml\wx\*.html\r
+ -erase $(DOCDIR)\mshtml\wx\*.gif\r
+ -erase $(DOCDIR)\mshtml\wx\wx.*\r
+ -erase $(DOCDIR)\pdf\wx.rtf\r
+ -erase $(DOCDIR)\latex\wx\wx.rtf\r
+ -erase $(DOCDIR)\latex\wx\WX.PH\r
+ -erase $(DOCDIR)\htmlhelp\wx.chm\r
+ -erase $(DOCDIR)\htb\wx.htb\r
+\r
+\r
+# Only clean the online help, not PDF RTF\r
+cleanonlinehelp:\r
+ -erase $(DOCDIR)\winhelp\wx.hlp\r
+ -erase $(DOCDIR)\winhelp\wx.cnt\r
+ -erase $(DOCDIR)\html\wx\*.html\r
+ -erase $(DOCDIR)\latex\wx\wx.rtf\r
+ -erase $(DOCDIR)\latex\wx\WX.PH\r
+ -erase $(DOCDIR)\latex\wx\wx.hpj\r
+ -erase $(DOCDIR)\htmlhelp\wx.chm\r
+ -erase $(DOCDIR)\mshtml\wx\*.html\r
+ -erase $(DOCDIR)\htb\wx.htb\r
+\r
+\r
+\r