libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ of
[obnox/wireshark/wip.git] / doc / Makefile.am
1 # Makefile.am
2 # Automake file for Wireshark documentation
3 #
4 # $Id$
5 #
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
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 ethereal-tmp.pod: $(srcdir)/ethereal.pod $(top_builddir)/AUTHORS-SHORT-FORMAT
28         cat $(srcdir)/ethereal.pod $(top_builddir)/AUTHORS-SHORT-FORMAT > ethereal-tmp.pod
29
30 ../ethereal.1: ethereal-tmp.pod ../config.h
31         $(POD2MAN)                                      \
32         --center="The Wireshark Network Analyzer"       \
33         --release=$(VERSION)                            \
34         ethereal-tmp.pod | sed 's/ETHEREAL-TMP/ETHEREAL/' > ../ethereal.1
35
36 ../ethereal.html: ethereal-tmp.pod ../config.h
37         $(POD2HTML)                                             \
38         --title="The Wireshark Network Analyzer $(VERSION)"     \
39         --noindex                                               \
40         ethereal-tmp.pod > ../ethereal.html
41
42 ../tethereal.1: tethereal.pod ../config.h
43         $(POD2MAN)                                      \
44         --center="The Wireshark Network Analyzer"       \
45         --release=$(VERSION)                            \
46         $(srcdir)/tethereal.pod > ../tethereal.1
47
48 ../tethereal.html: tethereal.pod ../config.h
49         $(POD2HTML)                                                     \
50         --title="tethereal - The Wireshark Network Analyzer $(VERSION)" \
51         --noindex                                                       \
52         $(srcdir)/tethereal.pod > ../tethereal.html
53
54 ../ethereal-filter.4: ethereal-filter.pod ../config.h
55         $(POD2MAN)                                      \
56         --section=4                                     \
57         --center="The Wireshark Network Analyzer"       \
58         --release=$(VERSION)                            \
59         ethereal-filter.pod > ../ethereal-filter.4
60
61 ../ethereal-filter.html: ethereal-filter.pod ../config.h
62         $(POD2HTML)                                                             \
63         --title="ethereal-filter - The Wireshark Network Analyzer $(VERSION)"   \
64         --noindex                                                               \
65         ethereal-filter.pod > ../ethereal-filter.html
66
67 ethereal-filter.pod: ethereal-filter.pod.template  ../tethereal
68         ../tethereal -G fields | $(PERL) $(srcdir)/dfilter2pod.pl $(srcdir)/ethereal-filter.pod.template > ethereal-filter.pod
69
70 ../capinfos.1: capinfos.pod ../config.h
71         $(POD2MAN)                                      \
72         --center="The Wireshark Network Analyzer"       \
73         --release=$(VERSION)                            \
74         $(srcdir)/capinfos.pod > ../capinfos.1
75
76 ../capinfos.html: capinfos.pod ../config.h
77         $(POD2HTML)                                                     \
78         --title="capinfos - The Wireshark Network Analyzer $(VERSION)"  \
79         --noindex                                                       \
80         $(srcdir)/capinfos.pod > ../capinfos.html
81
82 ../editcap.1: editcap.pod ../config.h
83         $(POD2MAN)                                      \
84         --center="The Wireshark Network Analyzer"       \
85         --release=$(VERSION)                            \
86         $(srcdir)/editcap.pod > ../editcap.1
87
88 ../editcap.html: editcap.pod ../config.h
89         $(POD2HTML)                                                     \
90         --title="editcap - The Wireshark Network Analyzer $(VERSION)"   \
91         --noindex                                                       \
92         $(srcdir)/editcap.pod > ../editcap.html
93
94 ../idl2wrs.1: idl2wrs.pod ../config.h
95         $(POD2MAN)                                      \
96         --center="The Wireshark Network Analyzer"       \
97         --release=$(VERSION)                            \
98         $(srcdir)/idl2wrs.pod > ../idl2wrs.1
99
100 ../idl2wrs.html: idl2wrs.pod ../config.h
101         $(POD2HTML)                                                     \
102         --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)"   \
103         --noindex                                                       \
104         $(srcdir)/idl2wrs.pod > ../idl2wrs.html
105
106 ../mergecap.1: mergecap.pod ../config.h
107         $(POD2MAN)                                      \
108         --center="The Wireshark Network Analyzer"       \
109         --release=$(VERSION)                            \
110         $(srcdir)/mergecap.pod > ../mergecap.1
111
112 ../mergecap.html: mergecap.pod ../config.h
113         $(POD2HTML)                                                     \
114         --title="mergecap - The Wireshark Network Analyzer $(VERSION)"  \
115         --noindex                                                       \
116         $(srcdir)/mergecap.pod > ../mergecap.html
117
118 ../text2pcap.1: text2pcap.pod ../config.h
119         $(POD2MAN)                                      \
120         --center="The Wireshark Network Analyzer"       \
121         --release=$(VERSION)                            \
122         $(srcdir)/text2pcap.pod > ../text2pcap.1
123
124 ../text2pcap.html: text2pcap.pod ../config.h
125         $(POD2HTML)                     \
126         --title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
127         --noindex                                                       \
128         $(srcdir)/text2pcap.pod > ../text2pcap.html
129
130 ../dumpcap.1: dumpcap.pod ../config.h
131         $(POD2MAN)                                      \
132         --center="The Wireshark Network Analyzer"       \
133         --release=$(VERSION)                            \
134         $(srcdir)/dumpcap.pod > ../dumpcap.1
135
136 ../dumpcap.html: dumpcap.pod ../config.h
137         $(POD2HTML)                     \
138         --title="dumpcap - The Wireshark Network Analyzer $(VERSION)"   \
139         --noindex                                                       \
140         $(srcdir)/dumpcap.pod > ../dumpcap.html
141
142 CLEANFILES =            \
143         ethereal-filter.pod \
144         ethereal-tmp.pod \
145         ../ethereal-filter.4 \
146         ../ethereal-filter.html \
147         ../ethereal.1   \
148         ../ethereal.html        \
149         ../capinfos.1   \
150         ../capinfos.html        \
151         ../editcap.1    \
152         ../editcap.html \
153         ../mergecap.1   \
154         ../mergecap.html        \
155         ../tethereal.1  \
156         ../tethereal.html       \
157         ../text2pcap.1  \
158         ../text2pcap.html       \
159         ../dumpcap.1    \
160         ../dumpcap.html \
161         ../idl2wrs.1    \
162         ../idl2wrs.html
163
164 DISTCLEANFILES =        \
165         pod2htmi.tmp    \
166         pod2htmd.tmp    \
167         *~
168
169 MAINTAINERCLEANFILES = \
170         Makefile.in
171