Add ServiceResponseTimeDialog.
[metze/wireshark/wip.git] / doc / Makefile.nmake
1 # Makefile.nmake
2 # Nmake file for Wireshark documentation
3 #
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
7 #
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21
22 # We include dependencies on ../config.h in order to
23 # capture when $(VERSION) changes.
24
25 include ../config.nmake
26
27 doc: wireshark.html tshark.html wireshark-filter.html capinfos.html \
28         editcap.html idl2wrs.html mergecap.html reordercap.html \
29         text2pcap.html dumpcap.html androiddump.html rawshark.html dftest.html randpkt.html \
30         idl2deb.html asn2deb.html extcap.html
31
32 man: wireshark.1 tshark.1 wireshark-filter.4 capinfos.1 \
33         editcap.1 idl2wrs.1 mergecap.1 reordercap.1 \
34         text2pcap.1 dumpcap.1 androiddump.1 rawshark.1 dftest.1 randpkt.1 \
35         idl2deb.1 asn2deb.1 extcap.4
36
37 wireshark.pod: wireshark.pod.template AUTHORS-SHORT-FORMAT
38         copy /B wireshark.pod.template + AUTHORS-SHORT-FORMAT wireshark.pod
39
40 #
41 # Build the short version of the authors file for the about dialog
42 #
43 AUTHORS-SHORT: ../AUTHORS make-authors-short.pl
44         $(PERL) perlnoutf.pl make-authors-short.pl < ../AUTHORS > AUTHORS-SHORT
45
46 #
47 # Build the short version of the authors file with formatting codes for
48 # the man page
49 #
50 AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
51         $(PERL) perlnoutf.pl make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
52
53 ws.css: ../docbook/ws.css
54         copy ..\docbook\ws.css .
55
56 wireshark.1: wireshark.pod ../config.h
57         $(POD2MAN)                     \
58         --center="The Wireshark Network Analyzer" \
59         --release=$(VERSION)                     \
60         wireshark.pod > wireshark.1
61
62 wireshark.html: wireshark.pod ../config.h ws.css
63         $(POD2HTML)                    \
64         --title="The Wireshark Network Analyzer $(VERSION)" \
65         --css=ws.css \
66         --noindex                                 \
67         wireshark.pod > wireshark.html
68
69 tshark.1: tshark.pod ../config.h
70         $(POD2MAN)                     \
71         --center="The Wireshark Network Analyzer" \
72         --release=$(VERSION)                     \
73         tshark.pod > tshark.1
74
75 tshark.html: tshark.pod ../config.h ws.css
76         $(POD2HTML)                    \
77         --title="tshark - The Wireshark Network Analyzer $(VERSION)" \
78         --css=ws.css \
79         --noindex                                 \
80         tshark.pod > tshark.html
81
82 wireshark-filter.4: wireshark-filter.pod ../config.h
83         $(POD2MAN)                     \
84         --center="The Wireshark Network Analyzer" \
85         --release=$(VERSION)                     \
86         wireshark-filter.pod > wireshark.4
87
88 wireshark-filter.html: wireshark-filter.pod ../config.h ws.css
89         $(POD2HTML)                    \
90         --title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \
91         --css=ws.css \
92         --noindex                                 \
93         wireshark-filter.pod > wireshark-filter.html
94
95 capinfos.1: capinfos.pod ../config.h
96         $(POD2MAN)                      \
97         --center="The Wireshark Network Analyzer" \
98         --release=$(VERSION)                     \
99         capinfos.pod > capinfos.1
100
101 capinfos.html: capinfos.pod ../config.h ws.css
102         $(POD2HTML)                     \
103         --title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
104         --css=ws.css \
105         --noindex                                 \
106         capinfos.pod > capinfos.html
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 asn2deb.1: asn2deb.pod ../config.h
122         $(POD2MAN)                      \
123         --center="The Wireshark Network Analyzer" \
124         --release=$(VERSION)                     \
125         asn2deb.pod > asn2deb.1
126
127 asn2deb.html: asn2deb.pod ../config.h ws.css
128         $(POD2HTML)                     \
129         --title="asn2deb - The Wireshark Network Analyzer $(VERSION)" \
130         --css=ws.css \
131         --noindex                                 \
132         asn2deb.pod > asn2deb.html
133
134 idl2deb.1: idl2deb.pod ../config.h
135         $(POD2MAN)                      \
136         --center="The Wireshark Network Analyzer" \
137         --release=$(VERSION)                     \
138         idl2deb.pod > idl2deb.1
139
140 idl2deb.html: idl2deb.pod ../config.h ws.css
141         $(POD2HTML)                     \
142         --title="idl2deb - The Wireshark Network Analyzer $(VERSION)" \
143         --css=ws.css \
144         --noindex                                 \
145         idl2deb.pod > idl2deb.html
146
147 idl2wrs.1: idl2wrs.pod ../config.h
148         $(POD2MAN)                      \
149         --center="The Wireshark Network Analyzer" \
150         --release=$(VERSION)                     \
151         idl2wrs.pod > idl2wrs.1
152
153 idl2wrs.html: idl2wrs.pod ../config.h ws.css
154         $(POD2HTML)                     \
155         --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
156         --css=ws.css \
157         --noindex                                 \
158         idl2wrs.pod > idl2wrs.html
159
160 mergecap.1: mergecap.pod ../config.h
161         $(POD2MAN)                      \
162         --center="The Wireshark Network Analyzer" \
163         --release=$(VERSION)                     \
164         mergecap.pod > mergecap.1
165
166 mergecap.html: mergecap.pod ../config.h ws.css
167         $(POD2HTML)                     \
168         --title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
169         --css=ws.css \
170         --noindex                                 \
171         mergecap.pod > mergecap.html
172
173 reordercap.1: reordercap.pod ../config.h
174         $(POD2MAN)                      \
175         --center="The Wireshark Network Analyzer" \
176         --release=$(VERSION)                     \
177         reordercap.pod > reordercap.1
178
179 reordercap.html: reordercap.pod ../config.h ws.css
180         $(POD2HTML)                     \
181         --title="reordercap - The Wireshark Network Analyzer $(VERSION)" \
182         --css=ws.css \
183         --noindex                                 \
184         reordercap.pod > reordercap.html
185
186 text2pcap.1: text2pcap.pod ../config.h
187         $(POD2MAN)                      \
188         --center="The Wireshark Network Analyzer" \
189         --release=$(VERSION)                     \
190         text2pcap.pod > text2pcap.1
191
192 text2pcap.html: text2pcap.pod ../config.h ws.css
193         $(POD2HTML)                     \
194         --title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
195         --css=ws.css \
196         --noindex                                 \
197         text2pcap.pod > text2pcap.html
198
199 dumpcap.1: dumpcap.pod ../config.h
200         $(POD2MAN)                      \
201         --center="The Wireshark Network Analyzer" \
202         --release=$(VERSION)                     \
203         dumpcap.pod > dumpcap.1
204
205 dumpcap.html: dumpcap.pod ../config.h ws.css
206         $(POD2HTML)                     \
207         --title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
208         --css=ws.css \
209         --noindex                                 \
210         dumpcap.pod > dumpcap.html
211
212 extcap.4: extcap.pod ../config.h
213         $(POD2MAN)                      \
214         --center="The Wireshark Network Analyzer" \
215         --release=$(VERSION)                     \
216         extcap.pod > extcap.1
217
218 extcap.html: extcap.pod ../config.h ws.css
219         $(POD2HTML)                     \
220         --title="extcap - The Wireshark Network Analyzer $(VERSION)" \
221         --css=ws.css \
222         --noindex                                 \
223         extcap.pod > extcap.html
224
225 androiddump.1: androiddump.pod ../config.h
226         $(POD2MAN)                      \
227         --center="The Wireshark Network Analyzer" \
228         --release=$(VERSION)                     \
229         androiddump.pod > androiddump.1
230
231 androiddump.html: androiddump.pod ../config.h ws.css
232         $(POD2HTML)                     \
233         --title="androiddump - The Wireshark Network Analyzer $(VERSION)" \
234         --css=ws.css \
235         --noindex                                 \
236         androiddump.pod > androiddump.html
237
238 rawshark.1: rawshark.pod ../config.h
239         $(POD2MAN)                      \
240         --center="The Wireshark Network Analyzer" \
241         --release=$(VERSION)                     \
242         rawshark.pod > rawshark.1
243
244 rawshark.html: rawshark.pod ../config.h ws.css
245         $(POD2HTML)                     \
246         --title="rawshark - The Wireshark Network Analyzer $(VERSION)" \
247         --css=ws.css \
248         --noindex                                 \
249         rawshark.pod > rawshark.html
250
251 dftest.1: dftest.pod ../config.h
252         $(POD2MAN)                      \
253         --center="The Wireshark Network Analyzer" \
254         --release=$(VERSION)                     \
255         dftest.pod > dftest.1
256
257 dftest.html: dftest.pod ../config.h ws.css
258         $(POD2HTML)                     \
259         --title="dftest - The Wireshark Network Analyzer $(VERSION)" \
260         --css=ws.css \
261         --noindex                                 \
262         dftest.pod > dftest.html
263
264 randpkt.1: randpkt.pod ../config.h
265         $(POD2MAN)                      \
266         --center="The Wireshark Network Analyzer" \
267         --release=$(VERSION)                     \
268         randpkt.pod > randpkt.1
269
270 randpkt.html: randpkt.pod ../config.h ws.css
271         $(POD2HTML)                     \
272         --title="randpkt - The Wireshark Network Analyzer $(VERSION)" \
273         --css=ws.css \
274         --noindex                                 \
275         randpkt.pod > randpkt.html
276
277 clean:
278         rm -f wireshark.html wireshark.1 wireshark.pod
279         rm -f tshark.html tshark.1
280         rm -f wireshark-filter.html wireshark-filter.4
281         rm -f capinfos.html capinfos.1
282         rm -f editcap.html editcap.1
283         rm -f idl2wrs.html idl2wrs.1
284         rm -f mergecap.html mergecap.1
285         rm -f reordercap.html reordercap.1
286         rm -f text2pcap.html text2pcap.1
287         rm -f dumpcap.html dumpcap.1
288         rm -f rawshark.html rawshark.1
289         rm -f randpkt.html randpkt.1
290         rm -f dftest.html dftest.1
291         rm -f pod2htm*
292         rm -f ws.css
293         rm -f AUTHORS-SHORT AUTHORS-SHORT-FORMAT
294
295 distclean: clean
296
297 maintainer-clean: distclean