Update documentatin for the qt build to reflect the cmake work.
[obnox/wireshark/wip.git] / doc / Makefile.nmake
1 # Makefile.nmake
2 # Nmake file for Wireshark documentation
3 #
4 # $Id$
5 #
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
9
10 # This program is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU General Public License
12 # as published by the Free Software Foundation; either version 2
13 # of the License, or (at your option) any later version.
14
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 # GNU General Public License for more details.
19
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
23
24 # We include dependencies on ../config.h in order to
25 # capture when $(VERSION) changes.
26
27 include ../config.nmake
28
29 doc: wireshark.html tshark.html wireshark-filter.html capinfos.html \
30         editcap.html idl2wrs.html mergecap.html text2pcap.html dumpcap.html \
31         rawshark.html
32
33 man: wireshark.1 tshark.1 wireshark-filter.4 capinfos.1 editcap.1 \
34         idl2wrs.1 mergecap.1 text2pcap.1 dumpcap.1 rawshark.1
35
36 wireshark.pod: wireshark.pod.template AUTHORS-SHORT-FORMAT
37         copy /B wireshark.pod.template + AUTHORS-SHORT-FORMAT wireshark.pod
38
39 #
40 # Build the short version of the authors file for the about dialog
41 #
42 AUTHORS-SHORT: ../AUTHORS make-authors-short.pl
43         $(PERL) perlnoutf.pl make-authors-short.pl < ../AUTHORS > AUTHORS-SHORT
44
45 #
46 # Build the short version of the authors file with formatting codes for
47 # the man page
48 #
49 AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
50     $(PERL) perlnoutf.pl make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
51
52 ws.css: ../docbook/ws.css
53         copy ..\docbook\ws.css .
54
55 wireshark.1: wireshark.pod ../config.h
56         $(POD2MAN)                     \
57         --center="The Wireshark Network Analyzer" \
58         --release=$(VERSION)                     \
59         wireshark.pod > wireshark.1
60
61 wireshark.html: wireshark.pod ../config.h ws.css
62         $(POD2HTML)                    \
63         --title="The Wireshark Network Analyzer $(VERSION)" \
64         --css=ws.css \
65         --noindex                                 \
66         wireshark.pod > wireshark.html
67
68 tshark.1: tshark.pod ../config.h
69         $(POD2MAN)                     \
70         --center="The Wireshark Network Analyzer" \
71         --release=$(VERSION)                     \
72         tshark.pod > tshark.1
73
74 tshark.html: tshark.pod ../config.h ws.css
75         $(POD2HTML)                    \
76         --title="tshark - The Wireshark Network Analyzer $(VERSION)" \
77         --css=ws.css \
78         --noindex                                 \
79         tshark.pod > tshark.html
80
81 wireshark-filter.4: wireshark-filter.pod ../config.h
82         $(POD2MAN)                     \
83         --center="The Wireshark Network Analyzer" \
84         --release=$(VERSION)                     \
85         wireshark-filter.pod > wireshark.4
86
87 wireshark-filter.html: wireshark-filter.pod ../config.h ws.css
88         $(POD2HTML)                    \
89         --title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \
90         --css=ws.css \
91         --noindex                                 \
92         wireshark-filter.pod > wireshark-filter.html
93
94 capinfos.1: capinfos.pod ../config.h
95         $(POD2MAN)                      \
96         --center="The Wireshark Network Analyzer" \
97         --release=$(VERSION)                     \
98         capinfos.pod > capinfos.1
99
100 capinfos.html: capinfos.pod ../config.h ws.css
101         $(POD2HTML)                     \
102         --title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
103         --css=ws.css \
104         --noindex                                 \
105         capinfos.pod > capinfos.html
106
107
108 editcap.1: editcap.pod ../config.h
109         $(POD2MAN)                      \
110         --center="The Wireshark Network Analyzer" \
111         --release=$(VERSION)                     \
112         editcap.pod > editcap.1
113
114 editcap.html: editcap.pod ../config.h ws.css
115         $(POD2HTML)                     \
116         --title="editcap - The Wireshark Network Analyzer $(VERSION)" \
117         --css=ws.css \
118         --noindex                                 \
119         editcap.pod > editcap.html
120
121 idl2wrs.1: idl2wrs.pod ../config.h
122         $(POD2MAN)                      \
123         --center="The Wireshark Network Analyzer" \
124         --release=$(VERSION)                     \
125         idl2wrs.pod > idl2wrs.1
126
127 idl2wrs.html: idl2wrs.pod ../config.h ws.css
128         $(POD2HTML)                     \
129         --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
130         --css=ws.css \
131         --noindex                                 \
132         idl2wrs.pod > idl2wrs.html
133
134 mergecap.1: mergecap.pod ../config.h
135         $(POD2MAN)                      \
136         --center="The Wireshark Network Analyzer" \
137         --release=$(VERSION)                     \
138         mergecap.pod > mergecap.1
139
140 mergecap.html: mergecap.pod ../config.h ws.css
141         $(POD2HTML)                     \
142         --title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
143         --css=ws.css \
144         --noindex                                 \
145         mergecap.pod > mergecap.html
146
147 text2pcap.1: text2pcap.pod ../config.h
148         $(POD2MAN)                      \
149         --center="The Wireshark Network Analyzer" \
150         --release=$(VERSION)                     \
151         text2pcap.pod > text2pcap.1
152
153 text2pcap.html: text2pcap.pod ../config.h ws.css
154         $(POD2HTML)                     \
155         --title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
156         --css=ws.css \
157         --noindex                                 \
158         text2pcap.pod > text2pcap.html
159
160 dumpcap.1: dumpcap.pod ../config.h
161         $(POD2MAN)                      \
162         --center="The Wireshark Network Analyzer" \
163         --release=$(VERSION)                     \
164         dumpcap.pod > dumpcap.1
165
166 dumpcap.html: dumpcap.pod ../config.h ws.css
167         $(POD2HTML)                     \
168         --title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
169         --css=ws.css \
170         --noindex                                 \
171         dumpcap.pod > dumpcap.html
172
173 rawshark.1: rawshark.pod ../config.h
174         $(POD2MAN)                      \
175         --center="The Wireshark Network Analyzer" \
176         --release=$(VERSION)                     \
177         rawshark.pod > rawshark.1
178
179 rawshark.html: rawshark.pod ../config.h ws.css
180         $(POD2HTML)                     \
181         --title="rawshark - The Wireshark Network Analyzer $(VERSION)" \
182         --css=ws.css \
183         --noindex                                 \
184         rawshark.pod > rawshark.html
185
186 clean:
187         rm -f wireshark.html wireshark.1 wireshark.pod
188         rm -f tshark.html tshark.1
189         rm -f wireshark-filter.html wireshark-filter.4
190         rm -f capinfos.html capinfos.1
191         rm -f editcap.html editcap.1
192         rm -f idl2wrs.html idl2wrs.1
193         rm -f mergecap.html mergecap.1
194         rm -f text2pcap.html text2pcap.1
195         rm -f dumpcap.html dumpcap.1
196         rm -f rawshark.html rawshark.1
197         rm -f pod2htm*
198         rm -f ws.css
199         rm -f AUTHORS-SHORT AUTHORS-SHORT-FORMAT
200
201 distclean: clean
202
203 maintainer-clean: distclean