From Chris Wilson:
[obnox/wireshark/wip.git] / doc / Makefile.am
1 # Makefile.am
2 # Automake file for Ethereal documentation
3 #
4 # $Id: Makefile.am,v 1.20 2003/10/01 20:26:50 guy 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 ../ethereal.1: ethereal.pod ../config.h
28         $(POD2MAN)                     \
29         --center="The Ethereal Network Analyzer" \
30         --release=$(VERSION)                     \
31         $(srcdir)/ethereal.pod > ../ethereal.1
32
33 ../tethereal.1: tethereal.pod ../config.h
34         $(POD2MAN)                     \
35         --center="The Ethereal Network Analyzer" \
36         --release=$(VERSION)                     \
37         $(srcdir)/tethereal.pod > ../tethereal.1
38
39 ../ethereal-filter.4: ethereal-filter.pod ../config.h
40         $(POD2MAN)                     \
41         --center="The Ethereal Network Analyzer" \
42         --release=$(VERSION)                     \
43         ethereal-filter.pod > ../ethereal-filter.4
44
45 ethereal-filter.pod: ethereal-filter.pod.template  ../tethereal
46         ../tethereal -G fields | $(PERL) $(srcdir)/dfilter2pod.pl $(srcdir)/ethereal-filter.pod.template > ethereal-filter.pod
47
48 ../editcap.1: editcap.pod ../config.h
49         $(POD2MAN)                      \
50         --center="The Ethereal Network Analyzer" \
51         --release=$(VERSION)                     \
52         $(srcdir)/editcap.pod > ../editcap.1
53
54 ../idl2eth.1: idl2eth.pod ../config.h
55         $(POD2MAN)                      \
56         --center="The Ethereal Network Analyzer" \
57         --release=$(VERSION)                     \
58         $(srcdir)/idl2eth.pod > ../idl2eth.1
59
60 ../mergecap.1: mergecap.pod ../config.h
61         $(POD2MAN)                      \
62         --center="The Ethereal Network Analyzer" \
63         --release=$(VERSION)                     \
64         $(srcdir)/mergecap.pod > ../mergecap.1
65
66 ../text2pcap.1: text2pcap.pod ../config.h
67         $(POD2MAN)                      \
68         --center="The Ethereal Network Analyzer" \
69         --release=$(VERSION)                     \
70         $(srcdir)/text2pcap.pod > ../text2pcap.1
71
72 CLEANFILES =            \
73         ethereal-filter.pod \
74         ../ethereal-filter.4 \
75         ../ethereal.1   \
76         ../editcap.1    \
77         ../mergecap.1   \
78         ../tethereal.1  \
79         ../text2pcap.1  \
80         ../idl2eth.1