File: makefile.vc

package info (click to toggle)
wxwidgets2.8 2.8.10.1-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 239,052 kB
  • ctags: 289,550
  • sloc: cpp: 1,838,857; xml: 396,717; python: 282,506; ansic: 126,171; makefile: 51,406; sh: 14,581; asm: 299; sql: 258; lex: 194; perl: 139; yacc: 128; pascal: 95; php: 39; lisp: 38; tcl: 24; haskell: 20; java: 18; cs: 18; erlang: 17; ruby: 16; ada: 9; ml: 9; csh: 9
file content (107 lines) | stat: -rw-r--r-- 3,379 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# File:     makefile.vc
# Author:   Julian Smart
# Created:  2002
# Updated:
# Copyright: (c) 2002, Julian Smart
#
# "%W% %G%"
#
# Makefile : Builds documents using VC++ nmake
#

WXDIR=$(WXWIN)
THISDIR=$(WXDIR)\contrib\docs\latex\fl
DOCDIR = $(WXDIR)\docs
WAITFLAG=/w

docs:   dirs winhelp html pdfrtf htb htmlhelp
winhelp:    $(DOCDIR)/winhelp/fl.hlp
rtf:    $(THISDIR)/latex/fl/fl.rtf
pdfrtf: $(DOCDIR)/pdf/fl.rtf
htb:	$(DOCDIR)\htb\fl.htb
html:	$(DOCDIR)\html\fl\fl.htm
htmlhelp: $(DOCDIR)\htmlhelp\fl.chm

dirs:
        -mkdir $(DOCDIR)\winhelp
        -mkdir $(DOCDIR)\html
        -mkdir $(DOCDIR)\html\fl
        -mkdir $(DOCDIR)\htmlhelp
        -mkdir $(DOCDIR)\htb
        -mkdir $(DOCDIR)\pdf

$(DOCDIR)/winhelp/fl.hlp:         $(THISDIR)/fl.rtf $(THISDIR)/fl.hpj
        cd $(THISDIR)
        -erase fl.ph
        hc fl
        -erase $(DOCDIR)\winhelp\fl.hlp
        -erase $(DOCDIR)\winhelp\fl.cnt
        move fl.hlp $(DOCDIR)\winhelp\fl.hlp
        move fl.cnt $(DOCDIR)\winhelp\fl.cnt
        cd $(THISDIR)

$(THISDIR)/fl.rtf:         $(THISDIR)/classes.tex $(THISDIR)/body.tex $(THISDIR)/topics.tex $(THISDIR)/fl.tex
        cd $(THISDIR)
        -start $(WAITFLAG) tex2rtf $(THISDIR)/fl.tex $(THISDIR)/fl.rtf -twice -winhelp
        cd $(THISDIR)

$(DOCDIR)/pdf/fl.rtf:         $(THISDIR)/classes.tex $(THISDIR)/body.tex $(THISDIR)/topics.tex $(THISDIR)/fl.tex
        cd $(THISDIR)
        -copy *.wmf $(DOCDIR)\pdf
        -copy *.bmp $(DOCDIR)\pdf
        -start $(WAITFLAG) tex2rtf $(THISDIR)/fl.tex $(DOCDIR)/pdf/fl.rtf -twice -rtf
        cd $(THISDIR)

$(DOCDIR)\html\fl\fl.htm:         $(THISDIR)\classes.tex $(THISDIR)\body.tex $(THISDIR)/topics.tex $(THISDIR)\fl.tex
        cd $(THISDIR)
        -mkdir $(DOCDIR)\html\fl
        copy *.gif $(DOCDIR)\html\fl
        -start $(WAITFLAG) tex2rtf $(THISDIR)\fl.tex $(DOCDIR)\html\fl\fl.htm -twice -html
        -erase $(DOCDIR)\html\fl\*.con
        -erase $(DOCDIR)\html\fl\*.ref
        -erase $(THISDIR)\*.con
        -erase $(THISDIR)\*.ref
         cd $(THISDIR)

$(DOCDIR)\htmlhelp\fl.chm : $(DOCDIR)\html\fl\fl.htm $(DOCDIR)\html\fl\fl.hhp
	cd $(DOCDIR)\html\fl
	-hhc fl.hhp
    -mkdir ..\..\htmlhelp
    -erase $(DOCDIR)\htmlhelp\fl.chm
    move fl.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\fl.htb: $(DOCDIR)\html\fl\fl.htm
	cd $(WXDIR)\docs\html\fl
    -erase fl.zip fl.htb
    zip fl.zip *.htm *.gif *.hhp *.hhc *.hhk
    -mkdir $(DOCDIR)\htb
    move fl.zip $(DOCDIR)\htb\fl.htb
    cd $(THISDIR)

# In order to force document reprocessing
touchfl:
    -touch $(WXDIR)\contrib\docs\latex\fl\fl.tex

updatedocs: touchfl alldocs

cleandocs:
    -erase $(DOCDIR)\winhelp\fl.hlp
    -erase $(DOCDIR)\winhelp\fl.cnt
    -erase $(DOCDIR)\html\fl\*.htm
    -erase $(DOCDIR)\pdf\fl.rtf
    -erase $(THISDIR)\fl.rtf
    -erase $(THISDIR)\fl.PH
    -erase $(DOCDIR)\htmlhelp\fl.chm
    -erase $(DOCDIR)\htb\fl.htb

# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
# Office StartUp folder, and PDFMaker should be installed.
#updatepdf:  # touchfl pdfrtf
#    start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\fl.rtf /mGeneratePDF"