# Makefile.am
-# Automake file for Ethereal documentation
+# Automake file for Wireshark documentation
#
-# $Id: Makefile.am,v 1.22 2004/05/22 21:52:37 guy Exp $
+# $Id$
#
-# Ethereal - Network traffic analyzer
-# By Gerald Combs <gerald@ethereal.com>
+# Wireshark - Network traffic analyzer
+# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# We include dependencies on ../config.h in order to
# capture when $(VERSION) changes.
-ethereal-tmp.pod: ethereal.pod ../AUTHORS-SHORT
- cat --binary ethereal.pod ../AUTHORS-SHORT > ethereal-tmp.pod
+wireshark-tmp.pod: $(srcdir)/wireshark.pod $(top_builddir)/AUTHORS-SHORT-FORMAT
+ cat $(srcdir)/wireshark.pod $(top_builddir)/AUTHORS-SHORT-FORMAT > wireshark-tmp.pod
-../ethereal.1: ethereal-tmp.pod ../config.h
- $(POD2MAN) \
- --center="The Ethereal Network Analyzer" \
- --release=$(VERSION) \
- $(srcdir)/ethereal-tmp.pod > ../ethereal.1
+../wireshark.1: wireshark-tmp.pod ../config.h
+ $(POD2MAN) \
+ --center="The Wireshark Network Analyzer" \
+ --release=$(VERSION) \
+ wireshark-tmp.pod | sed 's/WIRESHARK-TMP/WIRESHARK/' > ../wireshark.1
-../tethereal.1: tethereal.pod ../config.h
- $(POD2MAN) \
- --center="The Ethereal Network Analyzer" \
- --release=$(VERSION) \
- $(srcdir)/tethereal.pod > ../tethereal.1
+../wireshark.html: wireshark-tmp.pod ../config.h
+ $(POD2HTML) \
+ --title="The Wireshark Network Analyzer $(VERSION)" \
+ --noindex \
+ wireshark-tmp.pod > ../wireshark.html
-../ethereal-filter.4: ethereal-filter.pod ../config.h
- $(POD2MAN) \
- --center="The Ethereal Network Analyzer" \
- --release=$(VERSION) \
- ethereal-filter.pod > ../ethereal-filter.4
+../tshark.1: tshark.pod ../config.h
+ $(POD2MAN) \
+ --center="The Wireshark Network Analyzer" \
+ --release=$(VERSION) \
+ $(srcdir)/tshark.pod > ../tshark.1
-ethereal-filter.pod: ethereal-filter.pod.template ../tethereal
- ../tethereal -G fields | $(PERL) $(srcdir)/dfilter2pod.pl $(srcdir)/ethereal-filter.pod.template > ethereal-filter.pod
+../tshark.html: tshark.pod ../config.h
+ $(POD2HTML) \
+ --title="tshark - The Wireshark Network Analyzer $(VERSION)" \
+ --noindex \
+ $(srcdir)/tshark.pod > ../tshark.html
+
+../wireshark-filter.4: wireshark-filter.pod ../config.h
+ $(POD2MAN) \
+ --section=4 \
+ --center="The Wireshark Network Analyzer" \
+ --release=$(VERSION) \
+ wireshark-filter.pod > ../wireshark-filter.4
+
+../wireshark-filter.html: wireshark-filter.pod ../config.h
+ $(POD2HTML) \
+ --title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \
+ --noindex \
+ wireshark-filter.pod > ../wireshark-filter.html
+
+wireshark-filter.pod: wireshark-filter.pod.template ../tshark
+ ../tshark -G fields | $(PERL) $(srcdir)/dfilter2pod.pl $(srcdir)/wireshark-filter.pod.template > wireshark-filter.pod
+
+../capinfos.1: capinfos.pod ../config.h
+ $(POD2MAN) \
+ --center="The Wireshark Network Analyzer" \
+ --release=$(VERSION) \
+ $(srcdir)/capinfos.pod > ../capinfos.1
+
+../capinfos.html: capinfos.pod ../config.h
+ $(POD2HTML) \
+ --title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
+ --noindex \
+ $(srcdir)/capinfos.pod > ../capinfos.html
../editcap.1: editcap.pod ../config.h
- $(POD2MAN) \
- --center="The Ethereal Network Analyzer" \
- --release=$(VERSION) \
+ $(POD2MAN) \
+ --center="The Wireshark Network Analyzer" \
+ --release=$(VERSION) \
$(srcdir)/editcap.pod > ../editcap.1
-../idl2eth.1: idl2eth.pod ../config.h
- $(POD2MAN) \
- --center="The Ethereal Network Analyzer" \
- --release=$(VERSION) \
- $(srcdir)/idl2eth.pod > ../idl2eth.1
+../editcap.html: editcap.pod ../config.h
+ $(POD2HTML) \
+ --title="editcap - The Wireshark Network Analyzer $(VERSION)" \
+ --noindex \
+ $(srcdir)/editcap.pod > ../editcap.html
+
+../idl2wrs.1: idl2wrs.pod ../config.h
+ $(POD2MAN) \
+ --center="The Wireshark Network Analyzer" \
+ --release=$(VERSION) \
+ $(srcdir)/idl2wrs.pod > ../idl2wrs.1
+
+../idl2wrs.html: idl2wrs.pod ../config.h
+ $(POD2HTML) \
+ --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
+ --noindex \
+ $(srcdir)/idl2wrs.pod > ../idl2wrs.html
../mergecap.1: mergecap.pod ../config.h
- $(POD2MAN) \
- --center="The Ethereal Network Analyzer" \
- --release=$(VERSION) \
+ $(POD2MAN) \
+ --center="The Wireshark Network Analyzer" \
+ --release=$(VERSION) \
$(srcdir)/mergecap.pod > ../mergecap.1
+../mergecap.html: mergecap.pod ../config.h
+ $(POD2HTML) \
+ --title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
+ --noindex \
+ $(srcdir)/mergecap.pod > ../mergecap.html
+
../text2pcap.1: text2pcap.pod ../config.h
- $(POD2MAN) \
- --center="The Ethereal Network Analyzer" \
- --release=$(VERSION) \
+ $(POD2MAN) \
+ --center="The Wireshark Network Analyzer" \
+ --release=$(VERSION) \
$(srcdir)/text2pcap.pod > ../text2pcap.1
+../text2pcap.html: text2pcap.pod ../config.h
+ $(POD2HTML) \
+ --title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
+ --noindex \
+ $(srcdir)/text2pcap.pod > ../text2pcap.html
+
+../dumpcap.1: dumpcap.pod ../config.h
+ $(POD2MAN) \
+ --center="The Wireshark Network Analyzer" \
+ --release=$(VERSION) \
+ $(srcdir)/dumpcap.pod > ../dumpcap.1
+
+../dumpcap.html: dumpcap.pod ../config.h
+ $(POD2HTML) \
+ --title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
+ --noindex \
+ $(srcdir)/dumpcap.pod > ../dumpcap.html
+
CLEANFILES = \
- ethereal-filter.pod \
- ethereal-tmp.pod \
- ../ethereal-filter.4 \
- ../ethereal.1 \
+ wireshark-filter.pod \
+ wireshark-tmp.pod \
+ ../wireshark-filter.4 \
+ ../wireshark-filter.html \
+ ../wireshark.1 \
+ ../wireshark.html \
+ ../capinfos.1 \
+ ../capinfos.html \
../editcap.1 \
+ ../editcap.html \
../mergecap.1 \
- ../tethereal.1 \
+ ../mergecap.html \
+ ../tshark.1 \
+ ../tshark.html \
../text2pcap.1 \
- ../idl2eth.1
+ ../text2pcap.html \
+ ../dumpcap.1 \
+ ../dumpcap.html \
+ ../idl2wrs.1 \
+ ../idl2wrs.html
+
+DISTCLEANFILES = \
+ pod2htmi.tmp \
+ pod2htmd.tmp \
+ *~
+
+MAINTAINERCLEANFILES = \
+ Makefile.in
+