2 # Nmake file for Wireshark documentation
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
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.
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.
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.
22 # We include dependencies on ../config.h in order to
23 # capture when $(VERSION) changes.
25 include ../config.nmake
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
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
37 wireshark.pod: wireshark.pod.template AUTHORS-SHORT-FORMAT
38 copy /B wireshark.pod.template + AUTHORS-SHORT-FORMAT wireshark.pod
41 # Build the short version of the authors file for the about dialog
43 AUTHORS-SHORT: ../AUTHORS make-authors-short.pl
44 $(PERL) perlnoutf.pl make-authors-short.pl < ../AUTHORS > AUTHORS-SHORT
47 # Build the short version of the authors file with formatting codes for
50 AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
51 $(PERL) perlnoutf.pl make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
53 ws.css: ../docbook/ws.css
54 copy ..\docbook\ws.css .
56 wireshark.1: wireshark.pod ../config.h
58 --center="The Wireshark Network Analyzer" \
59 --release=$(VERSION) \
60 wireshark.pod > wireshark.1
62 wireshark.html: wireshark.pod ../config.h ws.css
64 --title="The Wireshark Network Analyzer $(VERSION)" \
67 wireshark.pod > wireshark.html
69 tshark.1: tshark.pod ../config.h
71 --center="The Wireshark Network Analyzer" \
72 --release=$(VERSION) \
75 tshark.html: tshark.pod ../config.h ws.css
77 --title="tshark - The Wireshark Network Analyzer $(VERSION)" \
80 tshark.pod > tshark.html
82 wireshark-filter.4: wireshark-filter.pod ../config.h
84 --center="The Wireshark Network Analyzer" \
85 --release=$(VERSION) \
86 wireshark-filter.pod > wireshark.4
88 wireshark-filter.html: wireshark-filter.pod ../config.h ws.css
90 --title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \
93 wireshark-filter.pod > wireshark-filter.html
95 capinfos.1: capinfos.pod ../config.h
97 --center="The Wireshark Network Analyzer" \
98 --release=$(VERSION) \
99 capinfos.pod > capinfos.1
101 capinfos.html: capinfos.pod ../config.h ws.css
103 --title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
106 capinfos.pod > capinfos.html
108 editcap.1: editcap.pod ../config.h
110 --center="The Wireshark Network Analyzer" \
111 --release=$(VERSION) \
112 editcap.pod > editcap.1
114 editcap.html: editcap.pod ../config.h ws.css
116 --title="editcap - The Wireshark Network Analyzer $(VERSION)" \
119 editcap.pod > editcap.html
121 asn2deb.1: asn2deb.pod ../config.h
123 --center="The Wireshark Network Analyzer" \
124 --release=$(VERSION) \
125 asn2deb.pod > asn2deb.1
127 asn2deb.html: asn2deb.pod ../config.h ws.css
129 --title="asn2deb - The Wireshark Network Analyzer $(VERSION)" \
132 asn2deb.pod > asn2deb.html
134 idl2deb.1: idl2deb.pod ../config.h
136 --center="The Wireshark Network Analyzer" \
137 --release=$(VERSION) \
138 idl2deb.pod > idl2deb.1
140 idl2deb.html: idl2deb.pod ../config.h ws.css
142 --title="idl2deb - The Wireshark Network Analyzer $(VERSION)" \
145 idl2deb.pod > idl2deb.html
147 idl2wrs.1: idl2wrs.pod ../config.h
149 --center="The Wireshark Network Analyzer" \
150 --release=$(VERSION) \
151 idl2wrs.pod > idl2wrs.1
153 idl2wrs.html: idl2wrs.pod ../config.h ws.css
155 --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
158 idl2wrs.pod > idl2wrs.html
160 mergecap.1: mergecap.pod ../config.h
162 --center="The Wireshark Network Analyzer" \
163 --release=$(VERSION) \
164 mergecap.pod > mergecap.1
166 mergecap.html: mergecap.pod ../config.h ws.css
168 --title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
171 mergecap.pod > mergecap.html
173 reordercap.1: reordercap.pod ../config.h
175 --center="The Wireshark Network Analyzer" \
176 --release=$(VERSION) \
177 reordercap.pod > reordercap.1
179 reordercap.html: reordercap.pod ../config.h ws.css
181 --title="reordercap - The Wireshark Network Analyzer $(VERSION)" \
184 reordercap.pod > reordercap.html
186 text2pcap.1: text2pcap.pod ../config.h
188 --center="The Wireshark Network Analyzer" \
189 --release=$(VERSION) \
190 text2pcap.pod > text2pcap.1
192 text2pcap.html: text2pcap.pod ../config.h ws.css
194 --title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
197 text2pcap.pod > text2pcap.html
199 dumpcap.1: dumpcap.pod ../config.h
201 --center="The Wireshark Network Analyzer" \
202 --release=$(VERSION) \
203 dumpcap.pod > dumpcap.1
205 dumpcap.html: dumpcap.pod ../config.h ws.css
207 --title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
210 dumpcap.pod > dumpcap.html
212 extcap.4: extcap.pod ../config.h
214 --center="The Wireshark Network Analyzer" \
215 --release=$(VERSION) \
216 extcap.pod > extcap.1
218 extcap.html: extcap.pod ../config.h ws.css
220 --title="extcap - The Wireshark Network Analyzer $(VERSION)" \
223 extcap.pod > extcap.html
225 androiddump.1: androiddump.pod ../config.h
227 --center="The Wireshark Network Analyzer" \
228 --release=$(VERSION) \
229 androiddump.pod > androiddump.1
231 androiddump.html: androiddump.pod ../config.h ws.css
233 --title="androiddump - The Wireshark Network Analyzer $(VERSION)" \
236 androiddump.pod > androiddump.html
238 rawshark.1: rawshark.pod ../config.h
240 --center="The Wireshark Network Analyzer" \
241 --release=$(VERSION) \
242 rawshark.pod > rawshark.1
244 rawshark.html: rawshark.pod ../config.h ws.css
246 --title="rawshark - The Wireshark Network Analyzer $(VERSION)" \
249 rawshark.pod > rawshark.html
251 dftest.1: dftest.pod ../config.h
253 --center="The Wireshark Network Analyzer" \
254 --release=$(VERSION) \
255 dftest.pod > dftest.1
257 dftest.html: dftest.pod ../config.h ws.css
259 --title="dftest - The Wireshark Network Analyzer $(VERSION)" \
262 dftest.pod > dftest.html
264 randpkt.1: randpkt.pod ../config.h
266 --center="The Wireshark Network Analyzer" \
267 --release=$(VERSION) \
268 randpkt.pod > randpkt.1
270 randpkt.html: randpkt.pod ../config.h ws.css
272 --title="randpkt - The Wireshark Network Analyzer $(VERSION)" \
275 randpkt.pod > randpkt.html
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
293 rm -f AUTHORS-SHORT AUTHORS-SHORT-FORMAT
297 maintainer-clean: distclean