Have configure check for pod2man, thus creating a POD2MAN makefile
[obnox/wireshark/wip.git] / doc / Makefile.am
1 # Makefile.am
2 # Automake file for Ethereal documentation
3 #
4 # $Id: Makefile.am,v 1.13 2002/02/05 18:39:06 gram Exp $
5 #
6 # Ethereal - Network traffic analyzer
7 # By Gerald Combs <gerald@zing.org>
8 # Copyright 1998 Gerald Combs
9 #
10
11 # This program is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU General Public License
13 # as published by the Free Software Foundation; either version 2
14 # of the License, or (at your option) any later version.
15
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 # GNU General Public License for more details.
20
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24
25 # We include dependencies on ../config.h in order to
26 # capture when $(VERSION) changes.
27
28 ../ethereal.1: ethereal.pod ../config.h
29         $(POD2MAN) ethereal.pod                     \
30         --center="The Ethereal Network Analyzer" \
31         --release=$(VERSION)                     \
32         > ../ethereal.1
33
34 ethereal.pod: ethereal.pod.template  ../ethereal
35         ../ethereal -G | $(PERL) $(srcdir)/dfilter2pod.pl $(srcdir)/ethereal.pod.template > ethereal.pod
36
37 ../tethereal.1: tethereal.pod ../config.h
38         $(POD2MAN) tethereal.pod                     \
39         --center="The Ethereal Network Analyzer" \
40         --release=$(VERSION)                     \
41         > ../tethereal.1
42
43 tethereal.pod: tethereal.pod.template  ../tethereal
44         ../tethereal -G | $(PERL) $(srcdir)/dfilter2pod.pl $(srcdir)/tethereal.pod.template > tethereal.pod
45
46 ../editcap.1: editcap.pod ../config.h
47         $(POD2MAN) $(srcdir)/editcap.pod                     \
48         --center="The Ethereal Network Analyzer" \
49         --release=$(VERSION)                     \
50         > ../editcap.1
51
52 ../idl2eth.1: idl2eth.pod ../config.h
53         $(POD2MAN) $(srcdir)/idl2eth.pod                     \
54         --center="The Ethereal Network Analyzer" \
55         --release=$(VERSION)                     \
56         > ../idl2eth.1
57
58 ../mergecap.1: mergecap.pod ../config.h
59         $(POD2MAN) $(srcdir)/mergecap.pod                     \
60         --center="The Ethereal Network Analyzer" \
61         --release=$(VERSION)                     \
62         > ../mergecap.1
63
64 ../text2pcap.1: text2pcap.pod ../config.h
65         $(POD2MAN) $(srcdir)/text2pcap.pod                     \
66         --center="The Ethereal Network Analyzer" \
67         --release=$(VERSION)                     \
68         > ../text2pcap.1