Didier Gautheron: Fix out of tree compilation
[obnox/wireshark/wip.git] / doc / Makefile.am
1 # Makefile.am
2 # Automake file for Ethereal documentation
3 #
4 # $Id$
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-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 Ethereal 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 Ethereal Network Analyzer $(VERSION)" \
39         --noindex                                 \
40         ethereal-tmp.pod > ../ethereal.html
41
42 ../tethereal.1: tethereal.pod ../config.h
43         $(POD2MAN)                     \
44         --center="The Ethereal 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 Ethereal 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 Ethereal 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 Ethereal 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 Ethereal 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 Ethereal Network Analyzer $(VERSION)" \
79         --noindex                                 \
80         $(srcdir)/capinfos.pod > ../capinfos.html
81
82 ../editcap.1: editcap.pod ../config.h
83         $(POD2MAN)                      \
84         --center="The Ethereal 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 Ethereal Network Analyzer $(VERSION)" \
91         --noindex                                 \
92         $(srcdir)/editcap.pod > ../editcap.html
93
94 ../idl2eth.1: idl2eth.pod ../config.h
95         $(POD2MAN)                      \
96         --center="The Ethereal Network Analyzer" \
97         --release=$(VERSION)                     \
98         $(srcdir)/idl2eth.pod > ../idl2eth.1
99
100 ../idl2eth.html: idl2eth.pod ../config.h
101         $(POD2HTML)                     \
102         --title="idl2eth - The Ethereal Network Analyzer $(VERSION)" \
103         --noindex                                 \
104         $(srcdir)/idl2eth.pod > ../idl2eth.html
105
106 ../mergecap.1: mergecap.pod ../config.h
107         $(POD2MAN)                      \
108         --center="The Ethereal 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 Ethereal Network Analyzer $(VERSION)" \
115         --noindex                                 \
116         $(srcdir)/mergecap.pod > ../mergecap.html
117
118 ../text2pcap.1: text2pcap.pod ../config.h
119         $(POD2MAN)                      \
120         --center="The Ethereal 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 Ethereal Network Analyzer $(VERSION)" \
127         --noindex                                 \
128         $(srcdir)/text2pcap.pod > ../text2pcap.html
129
130 CLEANFILES =            \
131         ethereal-filter.pod \
132         ethereal-tmp.pod \
133         ../ethereal-filter.4 \
134         ../ethereal-filter.html \
135         ../ethereal.1   \
136         ../ethereal.html        \
137         ../capinfos.1   \
138         ../capinfos.html        \
139         ../editcap.1    \
140         ../editcap.html \
141         ../mergecap.1   \
142         ../mergecap.html        \
143         ../tethereal.1  \
144         ../tethereal.html       \
145         ../text2pcap.1  \
146         ../text2pcap.html       \
147         ../idl2eth.1    \
148         ../idl2eth.html
149
150 DISTCLEANFILES =        \
151         pod2htmi.tmp    \
152         pod2htmd.tmp    \
153         *~