Put the EXTRA_DIST items for the doc directory in doc/Makefile.am (which
[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 wireshark-tmp.pod: $(srcdir)/wireshark.pod $(top_builddir)/AUTHORS-SHORT-FORMAT
28         cat $(srcdir)/wireshark.pod $(top_builddir)/AUTHORS-SHORT-FORMAT > wireshark-tmp.pod
29
30 ../ws.css: ../docbook/ws.css
31         cp ../docbook/ws.css ../
32
33 ../wireshark.1: wireshark-tmp.pod ../config.h
34         $(POD2MAN)                                      \
35         --center="The Wireshark Network Analyzer"       \
36         --release=$(VERSION)                            \
37         wireshark-tmp.pod | sed 's/WIRESHARK-TMP/WIRESHARK/' > ../wireshark.1
38
39 ../wireshark.html: wireshark-tmp.pod ../config.h ../ws.css
40         $(POD2HTML)                                             \
41         --title="The Wireshark Network Analyzer $(VERSION)"     \
42         --css=ws.css                                            \
43         --noindex                                               \
44         wireshark-tmp.pod > ../wireshark.html
45
46 ../tshark.1: tshark.pod ../config.h
47         $(POD2MAN)                                      \
48         --center="The Wireshark Network Analyzer"       \
49         --release=$(VERSION)                            \
50         $(srcdir)/tshark.pod > ../tshark.1
51
52 ../tshark.html: tshark.pod ../config.h ../ws.css
53         $(POD2HTML)                                                     \
54         --title="tshark - The Wireshark Network Analyzer $(VERSION)"    \
55         --css=ws.css                                                    \
56         --noindex                                                       \
57         $(srcdir)/tshark.pod > ../tshark.html
58
59 ../wireshark-filter.4: wireshark-filter.pod ../config.h
60         $(POD2MAN)                                      \
61         --section=4                                     \
62         --center="The Wireshark Network Analyzer"       \
63         --release=$(VERSION)                            \
64         wireshark-filter.pod > ../wireshark-filter.4
65
66 ../wireshark-filter.html: wireshark-filter.pod ../config.h ../ws.css
67         $(POD2HTML)                                                             \
68         --title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)"  \
69         --css=ws.css                                                            \
70         --noindex                                                               \
71         wireshark-filter.pod > ../wireshark-filter.html
72
73 wireshark-filter.pod: wireshark-filter.pod.template  ../tshark
74         WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 ../tshark -G fields | $(PERL) $(srcdir)/dfilter2pod.pl $(srcdir)/wireshark-filter.pod.template > wireshark-filter.pod
75
76 ../capinfos.1: capinfos.pod ../config.h
77         $(POD2MAN)                                      \
78         --center="The Wireshark Network Analyzer"       \
79         --release=$(VERSION)                            \
80         $(srcdir)/capinfos.pod > ../capinfos.1
81
82 ../capinfos.html: capinfos.pod ../config.h ../ws.css
83         $(POD2HTML)                                                     \
84         --title="capinfos - The Wireshark Network Analyzer $(VERSION)"  \
85         --css=ws.css                                                    \
86         --noindex                                                       \
87         $(srcdir)/capinfos.pod > ../capinfos.html
88
89 ../editcap.1: editcap.pod ../config.h
90         $(POD2MAN)                                      \
91         --center="The Wireshark Network Analyzer"       \
92         --release=$(VERSION)                            \
93         $(srcdir)/editcap.pod > ../editcap.1
94
95 ../editcap.html: editcap.pod ../config.h ../ws.css
96         $(POD2HTML)                                                     \
97         --title="editcap - The Wireshark Network Analyzer $(VERSION)"   \
98         --css=ws.css                                                    \
99         --noindex                                                       \
100         $(srcdir)/editcap.pod > ../editcap.html
101
102 ../idl2wrs.1: idl2wrs.pod ../config.h
103         $(POD2MAN)                                      \
104         --center="The Wireshark Network Analyzer"       \
105         --release=$(VERSION)                            \
106         $(srcdir)/idl2wrs.pod > ../idl2wrs.1
107
108 ../idl2wrs.html: idl2wrs.pod ../config.h ../ws.css
109         $(POD2HTML)                                                     \
110         --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)"   \
111         --css=ws.css                                                    \
112         --noindex                                                       \
113         $(srcdir)/idl2wrs.pod > ../idl2wrs.html
114
115 ../mergecap.1: mergecap.pod ../config.h
116         $(POD2MAN)                                      \
117         --center="The Wireshark Network Analyzer"       \
118         --release=$(VERSION)                            \
119         $(srcdir)/mergecap.pod > ../mergecap.1
120
121 ../mergecap.html: mergecap.pod ../config.h ../ws.css
122         $(POD2HTML)                                                     \
123         --title="mergecap - The Wireshark Network Analyzer $(VERSION)"  \
124         --css=ws.css                                                    \
125         --noindex                                                       \
126         $(srcdir)/mergecap.pod > ../mergecap.html
127
128 ../text2pcap.1: text2pcap.pod ../config.h
129         $(POD2MAN)                                      \
130         --center="The Wireshark Network Analyzer"       \
131         --release=$(VERSION)                            \
132         $(srcdir)/text2pcap.pod > ../text2pcap.1
133
134 ../text2pcap.html: text2pcap.pod ../config.h ../ws.css
135         $(POD2HTML)                     \
136         --title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
137         --css=ws.css                                                    \
138         --noindex                                                       \
139         $(srcdir)/text2pcap.pod > ../text2pcap.html
140
141 ../dumpcap.1: dumpcap.pod ../config.h
142         $(POD2MAN)                                      \
143         --center="The Wireshark Network Analyzer"       \
144         --release=$(VERSION)                            \
145         $(srcdir)/dumpcap.pod > ../dumpcap.1
146
147 ../dumpcap.html: dumpcap.pod ../config.h ../ws.css
148         $(POD2HTML)                     \
149         --title="dumpcap - The Wireshark Network Analyzer $(VERSION)"   \
150         --css=ws.css                                                    \
151         --noindex                                                       \
152         $(srcdir)/dumpcap.pod > ../dumpcap.html
153
154 ../rawshark.1: rawshark.pod ../config.h
155         $(POD2MAN)                                      \
156         --center="The Wireshark Network Analyzer"       \
157         --release=$(VERSION)                            \
158         $(srcdir)/rawshark.pod > ../rawshark.1
159
160 ../rawshark.html: rawshark.pod ../config.h ../ws.css
161         $(POD2HTML)                     \
162         --title="rawshark - The Wireshark Network Analyzer $(VERSION)"  \
163         --css=ws.css                                                    \
164         --noindex                                                       \
165         $(srcdir)/rawshark.pod > ../rawshark.html
166
167 CLEANFILES =            \
168         wireshark-filter.pod \
169         wireshark-tmp.pod \
170         ../wireshark-filter.4 \
171         ../wireshark-filter.html \
172         ../wireshark.1  \
173         ../wireshark.html       \
174         ../capinfos.1   \
175         ../capinfos.html        \
176         ../editcap.1    \
177         ../editcap.html \
178         ../mergecap.1   \
179         ../mergecap.html        \
180         ../tshark.1     \
181         ../tshark.html  \
182         ../text2pcap.1  \
183         ../text2pcap.html       \
184         ../dumpcap.1    \
185         ../dumpcap.html \
186         ../idl2wrs.1    \
187         ../idl2wrs.html \
188         ../rawshark.1   \
189         ../rawshark.html
190
191 DISTCLEANFILES =        \
192         pod2htmi.tmp    \
193         pod2htmd.tmp    \
194         *~
195
196 MAINTAINERCLEANFILES = \
197         Makefile.in
198
199 EXTRA_DIST = \
200         Makefile.nmake  \
201         README.binarytrees      \
202         README.capture  \
203         README.design   \
204         README.developer        \
205         README.display_filter   \
206         README.idl2wrs  \
207         README.malloc   \
208         README.packaging        \
209         README.plugins  \
210         README.regression   \
211         README.request_response_tracking        \
212         README.stats_tree       \
213         README.tapping  \
214         README.xml-output       \
215         capinfos.pod            \
216         dfilter2pod.pl  \
217         dumpcap.pod             \
218         editcap.pod             \
219         eproto2sgml             \
220         idl2wrs.pod             \
221         mergecap.pod    \
222         randpkt.txt             \
223         rawshark.pod    \
224         sgml.doc.template       \
225         text2pcap.pod   \
226         tshark.pod              \
227         wireshark-filter.pod.template \
228         wireshark.pod