]> git.saurik.com Git - wxWidgets.git/blob - contrib/docs/latex/fl/makefile.vc
Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
[wxWidgets.git] / contrib / docs / latex / fl / makefile.vc
1 # File: makefile.vc
2 # Author: Julian Smart
3 # Created: 2002
4 # Updated:
5 # Copyright: (c) 2002, Julian Smart
6 #
7 # "%W% %G%"
8 #
9 # Makefile : Builds documents using VC++ nmake
10 #
11
12 WXDIR=$(WXWIN)
13 THISDIR=$(WXDIR)\contrib\docs\latex\fl
14 DOCDIR = $(WXDIR)\docs
15 WAITFLAG=/w
16
17 docs: dirs winhelp html pdfrtf htb htmlhelp
18 winhelp: $(DOCDIR)/winhelp/fl.hlp
19 rtf: $(THISDIR)/latex/fl/fl.rtf
20 pdfrtf: $(DOCDIR)/pdf/fl.rtf
21 htb: $(DOCDIR)\htb\fl.htb
22 html: $(DOCDIR)\html\fl\fl.htm
23 htmlhelp: $(DOCDIR)\htmlhelp\fl.chm
24
25 dirs:
26 -mkdir $(DOCDIR)\winhelp
27 -mkdir $(DOCDIR)\html
28 -mkdir $(DOCDIR)\html\fl
29 -mkdir $(DOCDIR)\htmlhelp
30 -mkdir $(DOCDIR)\htb
31 -mkdir $(DOCDIR)\pdf
32
33 $(DOCDIR)/winhelp/fl.hlp: $(THISDIR)/fl.rtf $(THISDIR)/fl.hpj
34 cd $(THISDIR)
35 -erase fl.ph
36 hc fl
37 -erase $(DOCDIR)\winhelp\fl.hlp
38 -erase $(DOCDIR)\winhelp\fl.cnt
39 move fl.hlp $(DOCDIR)\winhelp\fl.hlp
40 move fl.cnt $(DOCDIR)\winhelp\fl.cnt
41 cd $(THISDIR)
42
43 $(THISDIR)/fl.rtf: $(THISDIR)/classes.tex $(THISDIR)/body.tex $(THISDIR)/topics.tex $(THISDIR)/fl.tex
44 cd $(THISDIR)
45 -start $(WAITFLAG) tex2rtf $(THISDIR)/fl.tex $(THISDIR)/fl.rtf -twice -winhelp
46 cd $(THISDIR)
47
48 $(DOCDIR)/pdf/fl.rtf: $(THISDIR)/classes.tex $(THISDIR)/body.tex $(THISDIR)/topics.tex $(THISDIR)/fl.tex
49 cd $(THISDIR)
50 -copy *.wmf $(DOCDIR)\pdf
51 -copy *.bmp $(DOCDIR)\pdf
52 -start $(WAITFLAG) tex2rtf $(THISDIR)/fl.tex $(DOCDIR)/pdf/fl.rtf -twice -rtf
53 cd $(THISDIR)
54
55 $(DOCDIR)\html\fl\fl.htm: $(THISDIR)\classes.tex $(THISDIR)\body.tex $(THISDIR)/topics.tex $(THISDIR)\fl.tex
56 cd $(THISDIR)
57 -mkdir $(DOCDIR)\html\fl
58 copy *.gif $(DOCDIR)\html\fl
59 -start $(WAITFLAG) tex2rtf $(THISDIR)\fl.tex $(DOCDIR)\html\fl\fl.htm -twice -html
60 -erase $(DOCDIR)\html\fl\*.con
61 -erase $(DOCDIR)\html\fl\*.ref
62 -erase $(THISDIR)\*.con
63 -erase $(THISDIR)\*.ref
64 cd $(THISDIR)
65
66 $(DOCDIR)\htmlhelp\fl.chm : $(DOCDIR)\html\fl\fl.htm $(DOCDIR)\html\fl\fl.hhp
67 cd $(DOCDIR)\html\fl
68 -hhc fl.hhp
69 -mkdir ..\..\htmlhelp
70 -erase $(DOCDIR)\htmlhelp\fl.chm
71 move fl.chm ..\..\htmlhelp
72 cd $(THISDIR)
73
74 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
75 # files, renamed to htb.
76 # This can then be used with e.g. helpview.
77 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
78 $(DOCDIR)\htb\fl.htb: $(DOCDIR)\html\fl\fl.htm
79 cd $(WXDIR)\docs\html\fl
80 -erase fl.zip fl.htb
81 zip fl.zip *.htm *.gif *.hhp *.hhc *.hhk
82 -mkdir $(DOCDIR)\htb
83 move fl.zip $(DOCDIR)\htb\fl.htb
84 cd $(THISDIR)
85
86 # In order to force document reprocessing
87 touchfl:
88 -touch $(WXDIR)\contrib\docs\latex\fl\fl.tex
89
90 updatedocs: touchfl alldocs
91
92 cleandocs:
93 -erase $(DOCDIR)\winhelp\fl.hlp
94 -erase $(DOCDIR)\winhelp\fl.cnt
95 -erase $(DOCDIR)\html\fl\*.htm
96 -erase $(DOCDIR)\pdf\fl.rtf
97 -erase $(THISDIR)\fl.rtf
98 -erase $(THISDIR)\fl.PH
99 -erase $(DOCDIR)\htmlhelp\fl.chm
100 -erase $(DOCDIR)\htb\fl.htb
101
102 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
103 # Office StartUp folder, and PDFMaker should be installed.
104 #updatepdf: # touchfl pdfrtf
105 # start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\fl.rtf /mGeneratePDF"
106
107