remove (duplicated) list of authors from ethereal.pod,
[obnox/wireshark/wip.git] / doc / Makefile.nmake
1 # Makefile.nmake
2 # Nmake file for Ethereal documentation
3 #
4 # $Id: Makefile.nmake,v 1.16 2004/05/22 17:14:32 ulfl Exp $
5 #
6 # Ethereal - Network traffic analyzer
7 # By Gerald Combs <gerald@ethereal.com>
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: ethereal.html tethereal.html ethereal-filter.html editcap.html \
30         idl2eth.html mergecap.html text2pcap.html
31
32 man: ethereal.1 tethereal.1 ethereal-filter.4 editcap.1 \
33         idl2eth.1 mergecap.1 text2pcap.1
34
35 ethereal-tmp.pod: ethereal.pod ../AUTHORS-SHORT
36         copy /B ethereal.pod + ..\AUTHORS-SHORT ethereal-tmp.pod
37         
38 ethereal.1: ethereal.pod ../config.h
39         $(POD2MAN)                     \
40         --center="The Ethereal Network Analyzer" \
41         --release=$(VERSION)                     \
42         ethereal-tmp.pod > ethereal.1
43
44 ethereal.html: ethereal-tmp.pod ../config.h
45         $(POD2HTML)                    \
46         --title="The Ethereal Network Analyzer $(VERSION)" \
47         --noindex                                 \
48         ethereal-tmp.pod > ethereal.html
49
50 ../tethereal.exe:
51         cd ..
52         $(MAKE) -f makefile.nmake tethereal.exe
53         cd doc
54
55 tethereal.1: tethereal.pod ../config.h
56         $(POD2MAN)                     \
57         --center="The Ethereal Network Analyzer" \
58         --release=$(VERSION)                     \
59         tethereal.pod > tethereal.1
60
61 tethereal.html: tethereal.pod ../config.h
62         $(POD2HTML)                    \
63         --title="tethereal - The Ethereal Network Analyzer $(VERSION)" \
64         --noindex                                 \
65         tethereal.pod > tethereal.html
66
67 ethereal-filter.4: ethereal-filter.pod ../config.h
68         $(POD2MAN)                     \
69         --center="The Ethereal Network Analyzer" \
70         --release=$(VERSION)                     \
71         ethereal-filter.pod > ethereal.4
72
73 ethereal-filter.html: ethereal-filter.pod ../config.h
74         $(POD2HTML)                    \
75         --title="ethereal-filter - The Ethereal Network Analyzer $(VERSION)" \
76         --noindex                                 \
77         ethereal-filter.pod > ethereal-filter.html
78
79 ethereal-filter.pod: ethereal-filter.pod.template  ../tethereal.exe
80         cd ..
81         cp --update --preserve wiretap/wiretap-$(WTAP_VERSION).dll wiretap-$(WTAP_VERSION).dll
82 !IFDEF ENABLE_LIBETHEREAL
83         cp --update --preserve epan/libethereal.dll libethereal.dll
84 !ENDIF
85         tethereal.exe -G | $(PERL) doc\dfilter2pod.pl doc\ethereal-filter.pod.template > doc\ethereal-filter.pod
86         rm -f libethereal.dll wiretap-$(WTAP_VERSION).dll
87         cd doc
88
89 editcap.1: editcap.pod ../config.h
90         $(POD2MAN)                      \
91         --center="The Ethereal Network Analyzer" \
92         --release=$(VERSION)                     \
93         editcap.pod > editcap.1
94
95 editcap.html: editcap.pod ../config.h
96         $(POD2HTML)                     \
97         --title="editcap - The Ethereal Network Analyzer $(VERSION)" \
98         --noindex                                 \
99         editcap.pod > editcap.html
100
101 idl2eth.1: idl2eth.pod ../config.h
102         $(POD2MAN)                      \
103         --center="The Ethereal Network Analyzer" \
104         --release=$(VERSION)                     \
105         idl2eth.pod > idl2eth.1
106
107 idl2eth.html: idl2eth.pod ../config.h
108         $(POD2HTML)                     \
109         --title="idl2eth - The Ethereal Network Analyzer $(VERSION)" \
110         --noindex                                 \
111         idl2eth.pod > idl2eth.html
112
113 mergecap.1: mergecap.pod ../config.h
114         $(POD2MAN)                      \
115         --center="The Ethereal Network Analyzer" \
116         --release=$(VERSION)                     \
117         mergecap.pod > mergecap.1
118
119 mergecap.html: mergecap.pod ../config.h
120         $(POD2HTML)                     \
121         --title="mergecap - The Ethereal Network Analyzer $(VERSION)" \
122         --noindex                                 \
123         mergecap.pod > mergecap.html
124
125 text2pcap.1: text2pcap.pod ../config.h
126         $(POD2MAN)                      \
127         --center="The Ethereal Network Analyzer" \
128         --release=$(VERSION)                     \
129         text2pcap.pod > text2pcap.1
130
131 text2pcap.html: text2pcap.pod ../config.h
132         $(POD2HTML)                     \
133         --title="text2pcap - The Ethereal Network Analyzer $(VERSION)" \
134         --noindex                                 \
135         text2pcap.pod > text2pcap.html
136
137 clean:
138         rm -f ethereal.html ethereal.1 ethereal-tmp.pod
139         rm -f tethereal.html tethereal.1
140         rm -f ethereal-filter.html ethereal-filter.4 ethereal-filter.pod
141         rm -f editcap.html editcap.1
142         rm -f idl2eth.html idl2eth.1
143         rm -f mergecap.html mergecap.1
144         rm -f text2pcap.html text2pcap.1
145         rm -f pod2htm*
146
147 distclean: clean