]> git.saurik.com Git - wxWidgets.git/blame - build/script/makedocs.vc
Generate wxPropertyGrid splitter (column divider) events: wxEVT_PG_COL_BEGIN_DRAG...
[wxWidgets.git] / build / script / makedocs.vc
CommitLineData
d5e7ffcf
KO
1# File: makedocs.vc\r
2# \r
3# Author: Julian Smart\r
4# Created: 1997\r
5# Updated:\r
6# Copyright: (c) 1997, Julian Smart\r
7\r
8WXDIR=$(WXWIN)\r
9THISDIR=$(WXWIN)\build\script\r
10DOCDIR = $(WXDIR)\docs\r
11WAITFLAG=/w\r
12\r
13# Making documents\r
14docs: wxhlp rtf pdfrtf wxhtml htmlhelp htb tex2rtf\r
15alldocs: docs\r
16hlp: wxhlp\r
17wxhlp: $(DOCDIR)/winhelp/wx.hlp\r
18rtf: $(DOCDIR)/latex/wx/wx.rtf\r
19pdfrtf: $(DOCDIR)/pdf/wx.rtf\r
20html: wxhtml\r
21htb: $(DOCDIR)\htb\wx.htb\r
22wxhtml: $(DOCDIR)\html\wx\wx_contents.html\r
23htmlhelp: $(DOCDIR)\htmlhelp\wx.chm\r
24\r
25tex2rtf:\r
26 cd $(WXWIN)\utils\tex2rtf\docs\r
27 nmake -f makefile.vc\r
28 cd $(THISDIR)\r
29\r
30\r
31$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj\r
32 cd $(DOCDIR)/latex/wx\r
33 -mkdir $(DOCDIR)\winhelp\r
34 -erase wx.ph\r
35 hcw /c /e wx\r
36 -erase $(DOCDIR)\winhelp\wx.hlp\r
37 -erase $(DOCDIR)\winhelp\wx.cnt\r
38 move wx.hlp $(DOCDIR)\winhelp\wx.hlp\r
39 move wx.cnt $(DOCDIR)\winhelp\wx.cnt\r
40 cd $(THISDIR)\r
41\r
42$(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
43 cd $(DOCDIR)\latex\wx\r
44 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp\r
45 cd $(THISDIR)\r
46\r
47$(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
48 cd $(DOCDIR)\latex\wx\r
49 -mkdir $(DOCDIR)\pdf\r
50 -copy *.wmf $(DOCDIR)\pdf\r
51 -copy *.bmp $(DOCDIR)\pdf\r
52 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf\r
53 cd $(THISDIR)\r
54\r
55# This target does two sets of HTML: one using a style sheet, for\r
56# the purposes of the CHM file, and one without.\r
57$(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
58 cd $(DOCDIR)\latex\wx\r
59 -mkdir $(DOCDIR)\html\wx\r
60 copy *.gif $(DOCDIR)\html\wx\r
61 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html\r
62 -mkdir $(DOCDIR)\mshtml\r
63 -mkdir $(DOCDIR)\mshtml\wx\r
64 copy *.gif $(DOCDIR)\mshtml\wx\r
65 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\mshtml\wx\wx.htm -twice -html -macros $(DOCDIR)\latex\wx\tex2rtf_css.ini\r
66 -erase $(DOCDIR)\html\wx\*.con\r
67 -erase $(DOCDIR)\html\wx\*.ref\r
68 -erase $(DOCDIR)\latex\wx\*.con\r
69 -erase $(DOCDIR)\latex\wx\*.ref\r
70 cd $(THISDIR)\r
71\r
72$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx_contents.html $(DOCDIR)\mshtml\wx\wx_contents.html $(DOCDIR)\mshtml\wx\wx.hhp\r
73 cd $(DOCDIR)\mshtml\wx\r
74 copy $(DOCDIR)\latex\wx\wx.css .\r
75 -hhc wx.hhp\r
76 -mkdir ..\..\htmlhelp\r
77 -erase $(DOCDIR)\htmlhelp\wx.chm\r
78 move wx.chm ..\..\htmlhelp\r
79 cd $(THISDIR)\r
80\r
81\r
82\r
83# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk\r
84# files, renamed to htb.\r
85# This can then be used with e.g. helpview.\r
86# Optionally, a cached version of the .hhp file can be generated with hhp2cached.\r
87$(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx_contents.html\r
88 cd $(WXDIR)\docs\html\wx\r
89 -erase wx.zip wx.htb\r
90 zip wx.zip *.html *.gif *.hhp *.hhc *.hhk\r
91 -mkdir $(DOCDIR)\htb\r
92 move wx.zip $(DOCDIR)\htb\wx.htb\r
93 cd $(THISDIR)\r
94\r
95# In order to force document reprocessing\r
96touchmanual:\r
97 -touch $(WXDIR)\docs\latex\wx\manual.tex\r
98\r
99updatedocs: touchmanual alldocs\r
100\r
101cleandocs:\r
102 -erase $(DOCDIR)\winhelp\*.hlp\r
103 -erase $(DOCDIR)\winhelp\*.cnt \r
104 -erase $(DOCDIR)\html\wx\*.html\r
105 -erase $(DOCDIR)\mshtml\wx\*.html\r
106 -erase $(DOCDIR)\mshtml\wx\*.gif\r
107 -erase $(DOCDIR)\mshtml\wx\wx.*\r
108 -erase $(DOCDIR)\pdf\wx.rtf\r
109 -erase $(DOCDIR)\latex\wx\wx.rtf\r
110 -erase $(DOCDIR)\latex\wx\WX.PH\r
111 -erase $(DOCDIR)\htmlhelp\wx.chm\r
112 -erase $(DOCDIR)\htb\wx.htb\r
113\r
114\r
115# Only clean the online help, not PDF RTF\r
116cleanonlinehelp:\r
117 -erase $(DOCDIR)\winhelp\wx.hlp\r
118 -erase $(DOCDIR)\winhelp\wx.cnt\r
119 -erase $(DOCDIR)\html\wx\*.html\r
120 -erase $(DOCDIR)\latex\wx\wx.rtf\r
121 -erase $(DOCDIR)\latex\wx\WX.PH\r
122 -erase $(DOCDIR)\latex\wx\wx.hpj\r
123 -erase $(DOCDIR)\htmlhelp\wx.chm\r
124 -erase $(DOCDIR)\mshtml\wx\*.html\r
125 -erase $(DOCDIR)\htb\wx.htb\r
126\r
127\r
128\r