]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/docs/latex/fl/makefile.vc
fixed bug in generation of thumb scroll events
[wxWidgets.git] / contrib / docs / latex / fl / makefile.vc
... / ...
CommitLineData
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
12WXDIR=$(WXWIN)
13THISDIR=$(WXDIR)\contrib\docs\latex\fl
14DOCDIR = $(WXDIR)\docs
15WAITFLAG=/w
16
17docs: dirs winhelp html pdfrtf htb htmlhelp
18winhelp: $(DOCDIR)/winhelp/fl.hlp
19rtf: $(THISDIR)/latex/fl/fl.rtf
20pdfrtf: $(DOCDIR)/pdf/fl.rtf
21htb: $(DOCDIR)\htb\fl.htb
22html: $(DOCDIR)\html\fl\fl.htm
23htmlhelp: $(DOCDIR)\htmlhelp\fl.chm
24
25dirs:
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
87touchfl:
88 -touch $(WXDIR)\contrib\docs\latex\fl\fl.tex
89
90updatedocs: touchfl alldocs
91
92cleandocs:
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