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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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 text2pcap.html dumpcap.html \
33 man: wireshark.1 tshark.1 wireshark-filter.4 capinfos.1 editcap.1 \
34 idl2wrs.1 mergecap.1 text2pcap.1 dumpcap.1 rawshark.1
36 wireshark.pod: wireshark.pod.template AUTHORS-SHORT-FORMAT
37 copy /B wireshark.pod.template + AUTHORS-SHORT-FORMAT wireshark.pod
40 # Build the short version of the authors file for the about dialog
42 AUTHORS-SHORT: ../AUTHORS make-authors-short.pl
43 $(PERL) perlnoutf.pl make-authors-short.pl < ../AUTHORS > AUTHORS-SHORT
46 # Build the short version of the authors file with formatting codes for
49 AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
50 $(PERL) perlnoutf.pl make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
52 ws.css: ../docbook/ws.css
53 copy ..\docbook\ws.css .
55 wireshark.1: wireshark.pod ../config.h
57 --center="The Wireshark Network Analyzer" \
58 --release=$(VERSION) \
59 wireshark.pod > wireshark.1
61 wireshark.html: wireshark.pod ../config.h ws.css
63 --title="The Wireshark Network Analyzer $(VERSION)" \
66 wireshark.pod > wireshark.html
68 tshark.1: tshark.pod ../config.h
70 --center="The Wireshark Network Analyzer" \
71 --release=$(VERSION) \
74 tshark.html: tshark.pod ../config.h ws.css
76 --title="tshark - The Wireshark Network Analyzer $(VERSION)" \
79 tshark.pod > tshark.html
81 wireshark-filter.4: wireshark-filter.pod ../config.h
83 --center="The Wireshark Network Analyzer" \
84 --release=$(VERSION) \
85 wireshark-filter.pod > wireshark.4
87 wireshark-filter.html: wireshark-filter.pod ../config.h ws.css
89 --title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \
92 wireshark-filter.pod > wireshark-filter.html
94 capinfos.1: capinfos.pod ../config.h
96 --center="The Wireshark Network Analyzer" \
97 --release=$(VERSION) \
98 capinfos.pod > capinfos.1
100 capinfos.html: capinfos.pod ../config.h ws.css
102 --title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
105 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 idl2wrs.1: idl2wrs.pod ../config.h
123 --center="The Wireshark Network Analyzer" \
124 --release=$(VERSION) \
125 idl2wrs.pod > idl2wrs.1
127 idl2wrs.html: idl2wrs.pod ../config.h ws.css
129 --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
132 idl2wrs.pod > idl2wrs.html
134 mergecap.1: mergecap.pod ../config.h
136 --center="The Wireshark Network Analyzer" \
137 --release=$(VERSION) \
138 mergecap.pod > mergecap.1
140 mergecap.html: mergecap.pod ../config.h ws.css
142 --title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
145 mergecap.pod > mergecap.html
147 text2pcap.1: text2pcap.pod ../config.h
149 --center="The Wireshark Network Analyzer" \
150 --release=$(VERSION) \
151 text2pcap.pod > text2pcap.1
153 text2pcap.html: text2pcap.pod ../config.h ws.css
155 --title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
158 text2pcap.pod > text2pcap.html
160 dumpcap.1: dumpcap.pod ../config.h
162 --center="The Wireshark Network Analyzer" \
163 --release=$(VERSION) \
164 dumpcap.pod > dumpcap.1
166 dumpcap.html: dumpcap.pod ../config.h ws.css
168 --title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
171 dumpcap.pod > dumpcap.html
173 rawshark.1: rawshark.pod ../config.h
175 --center="The Wireshark Network Analyzer" \
176 --release=$(VERSION) \
177 rawshark.pod > rawshark.1
179 rawshark.html: rawshark.pod ../config.h ws.css
181 --title="rawshark - The Wireshark Network Analyzer $(VERSION)" \
184 rawshark.pod > rawshark.html
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
199 rm -f AUTHORS-SHORT AUTHORS-SHORT-FORMAT
203 maintainer-clean: distclean