2 # Nmake file for Wireshark documentation
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 # We include dependencies on ../config.h in order to
25 # capture when $(VERSION) changes.
27 include ../config.nmake
29 doc: wireshark.html tshark.html wireshark-filter.html capinfos.html \
30 editcap.html idl2wrs.html mergecap.html reordercap.html \
31 text2pcap.html dumpcap.html rawshark.html dftest.html randpkt.html \
32 idl2deb.html asn2deb.html
34 man: wireshark.1 tshark.1 wireshark-filter.4 capinfos.1 \
35 editcap.1 idl2wrs.1 mergecap.1 reordercap.1 \
36 text2pcap.1 dumpcap.1 rawshark.1 dftest.1 randpkt.1 \
39 wireshark.pod: wireshark.pod.template AUTHORS-SHORT-FORMAT
40 copy /B wireshark.pod.template + AUTHORS-SHORT-FORMAT wireshark.pod
43 # Build the short version of the authors file for the about dialog
45 AUTHORS-SHORT: ../AUTHORS make-authors-short.pl
46 $(PERL) perlnoutf.pl make-authors-short.pl < ../AUTHORS > AUTHORS-SHORT
49 # Build the short version of the authors file with formatting codes for
52 AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
53 $(PERL) perlnoutf.pl make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
55 ws.css: ../docbook/ws.css
56 copy ..\docbook\ws.css .
58 wireshark.1: wireshark.pod ../config.h
60 --center="The Wireshark Network Analyzer" \
61 --release=$(VERSION) \
62 wireshark.pod > wireshark.1
64 wireshark.html: wireshark.pod ../config.h ws.css
66 --title="The Wireshark Network Analyzer $(VERSION)" \
69 wireshark.pod > wireshark.html
71 tshark.1: tshark.pod ../config.h
73 --center="The Wireshark Network Analyzer" \
74 --release=$(VERSION) \
77 tshark.html: tshark.pod ../config.h ws.css
79 --title="tshark - The Wireshark Network Analyzer $(VERSION)" \
82 tshark.pod > tshark.html
84 wireshark-filter.4: wireshark-filter.pod ../config.h
86 --center="The Wireshark Network Analyzer" \
87 --release=$(VERSION) \
88 wireshark-filter.pod > wireshark.4
90 wireshark-filter.html: wireshark-filter.pod ../config.h ws.css
92 --title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \
95 wireshark-filter.pod > wireshark-filter.html
97 capinfos.1: capinfos.pod ../config.h
99 --center="The Wireshark Network Analyzer" \
100 --release=$(VERSION) \
101 capinfos.pod > capinfos.1
103 capinfos.html: capinfos.pod ../config.h ws.css
105 --title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
108 capinfos.pod > capinfos.html
110 editcap.1: editcap.pod ../config.h
112 --center="The Wireshark Network Analyzer" \
113 --release=$(VERSION) \
114 editcap.pod > editcap.1
116 editcap.html: editcap.pod ../config.h ws.css
118 --title="editcap - The Wireshark Network Analyzer $(VERSION)" \
121 editcap.pod > editcap.html
123 asn2deb.1: asn2deb.pod ../config.h
125 --center="The Wireshark Network Analyzer" \
126 --release=$(VERSION) \
127 asn2deb.pod > asn2deb.1
129 asn2deb.html: asn2deb.pod ../config.h ws.css
131 --title="asn2deb - The Wireshark Network Analyzer $(VERSION)" \
134 asn2deb.pod > asn2deb.html
136 idl2deb.1: idl2deb.pod ../config.h
138 --center="The Wireshark Network Analyzer" \
139 --release=$(VERSION) \
140 idl2deb.pod > idl2deb.1
142 idl2deb.html: idl2deb.pod ../config.h ws.css
144 --title="idl2deb - The Wireshark Network Analyzer $(VERSION)" \
147 idl2deb.pod > idl2deb.html
149 idl2wrs.1: idl2wrs.pod ../config.h
151 --center="The Wireshark Network Analyzer" \
152 --release=$(VERSION) \
153 idl2wrs.pod > idl2wrs.1
155 idl2wrs.html: idl2wrs.pod ../config.h ws.css
157 --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
160 idl2wrs.pod > idl2wrs.html
162 mergecap.1: mergecap.pod ../config.h
164 --center="The Wireshark Network Analyzer" \
165 --release=$(VERSION) \
166 mergecap.pod > mergecap.1
168 mergecap.html: mergecap.pod ../config.h ws.css
170 --title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
173 mergecap.pod > mergecap.html
175 reordercap.1: reordercap.pod ../config.h
177 --center="The Wireshark Network Analyzer" \
178 --release=$(VERSION) \
179 reordercap.pod > reordercap.1
181 reordercap.html: reordercap.pod ../config.h ws.css
183 --title="reordercap - The Wireshark Network Analyzer $(VERSION)" \
186 reordercap.pod > reordercap.html
188 text2pcap.1: text2pcap.pod ../config.h
190 --center="The Wireshark Network Analyzer" \
191 --release=$(VERSION) \
192 text2pcap.pod > text2pcap.1
194 text2pcap.html: text2pcap.pod ../config.h ws.css
196 --title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
199 text2pcap.pod > text2pcap.html
201 dumpcap.1: dumpcap.pod ../config.h
203 --center="The Wireshark Network Analyzer" \
204 --release=$(VERSION) \
205 dumpcap.pod > dumpcap.1
207 dumpcap.html: dumpcap.pod ../config.h ws.css
209 --title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
212 dumpcap.pod > dumpcap.html
214 rawshark.1: rawshark.pod ../config.h
216 --center="The Wireshark Network Analyzer" \
217 --release=$(VERSION) \
218 rawshark.pod > rawshark.1
220 rawshark.html: rawshark.pod ../config.h ws.css
222 --title="rawshark - The Wireshark Network Analyzer $(VERSION)" \
225 rawshark.pod > rawshark.html
227 dftest.1: dftest.pod ../config.h
229 --center="The Wireshark Network Analyzer" \
230 --release=$(VERSION) \
231 dftest.pod > dftest.1
233 dftest.html: dftest.pod ../config.h ws.css
235 --title="dftest - The Wireshark Network Analyzer $(VERSION)" \
238 dftest.pod > dftest.html
240 randpkt.1: randpkt.pod ../config.h
242 --center="The Wireshark Network Analyzer" \
243 --release=$(VERSION) \
244 randpkt.pod > randpkt.1
246 randpkt.html: randpkt.pod ../config.h ws.css
248 --title="randpkt - The Wireshark Network Analyzer $(VERSION)" \
251 randpkt.pod > randpkt.html
254 rm -f wireshark.html wireshark.1 wireshark.pod
255 rm -f tshark.html tshark.1
256 rm -f wireshark-filter.html wireshark-filter.4
257 rm -f capinfos.html capinfos.1
258 rm -f editcap.html editcap.1
259 rm -f idl2wrs.html idl2wrs.1
260 rm -f mergecap.html mergecap.1
261 rm -f reordercap.html reordercap.1
262 rm -f text2pcap.html text2pcap.1
263 rm -f dumpcap.html dumpcap.1
264 rm -f rawshark.html rawshark.1
265 rm -f randpkt.html randpkt.1
266 rm -f dftest.html dftest.1
269 rm -f AUTHORS-SHORT AUTHORS-SHORT-FORMAT
273 maintainer-clean: distclean