Add some info about extended value string to section 1.7.1
[obnox/wireshark/wip.git] / doc / Makefile.nmake
index 912dffda31615b8be5ee25ba291624dd2305b6de..31f93495c2b3785223155468e5b17a446f14be63 100644 (file)
@@ -1,10 +1,10 @@
 # Makefile.nmake
-# Nmake file for Ethereal documentation
+# Nmake file for Wireshark documentation
 #
-# $Id: Makefile.nmake,v 1.12 2003/12/23 11:53:25 ulfl 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
 
 include ../config.nmake
 
-doc: ethereal.html tethereal.html ethereal-filter.html editcap.html \
-       idl2eth.html mergecap.html text2pcap.html
+doc: wireshark.html tshark.html wireshark-filter.html capinfos.html \
+       editcap.html idl2wrs.html mergecap.html text2pcap.html dumpcap.html \
+       rawshark.html
 
-ethereal.1: ethereal.pod ../config.h
+man: wireshark.1 tshark.1 wireshark-filter.4 capinfos.1 editcap.1 \
+       idl2wrs.1 mergecap.1 text2pcap.1 dumpcap.1 rawshark.1
+
+wireshark.pod: wireshark.pod.template AUTHORS-SHORT-FORMAT
+       copy /B wireshark.pod.template + AUTHORS-SHORT-FORMAT wireshark.pod
+
+#
+# Build the short version of the authors file for the about dialog
+#
+AUTHORS-SHORT: ../AUTHORS make-authors-short.pl
+       $(PERL) perlnoutf.pl make-authors-short.pl < ../AUTHORS > AUTHORS-SHORT
+
+#
+# Build the short version of the authors file with formatting codes for
+# the man page
+#
+AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
+    $(PERL) perlnoutf.pl make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
+
+ws.css: ../docbook/ws.css
+       copy ..\docbook\ws.css .
+
+wireshark.1: wireshark.pod ../config.h
        $(POD2MAN)                     \
-       --center="The Ethereal Network Analyzer" \
+       --center="The Wireshark Network Analyzer" \
        --release=$(VERSION)                     \
-        ethereal.pod > ethereal.1
+       wireshark.pod > wireshark.1
 
-ethereal.html: ethereal.pod ../config.h
+wireshark.html: wireshark.pod ../config.h ws.css
        $(POD2HTML)                    \
-       --title="The Ethereal Network Analyzer $(VERSION)" \
+       --title="The Wireshark Network Analyzer $(VERSION)" \
+       --css=ws.css \
        --noindex                                 \
-       ethereal.pod > ethereal.html
-
-../tethereal.exe:
-       cd ..
-       $(MAKE) -f makefile.nmake tethereal.exe
-       cd doc
+       wireshark.pod > wireshark.html
 
-tethereal.1: tethereal.pod ../config.h
+tshark.1: tshark.pod ../config.h
        $(POD2MAN)                     \
-       --center="The Ethereal Network Analyzer" \
+       --center="The Wireshark Network Analyzer" \
        --release=$(VERSION)                     \
-       tethereal.pod > tethereal.1
+       tshark.pod > tshark.1
 
-tethereal.html: tethereal.pod ../config.h
+tshark.html: tshark.pod ../config.h ws.css
        $(POD2HTML)                    \
-       --title="The Ethereal Network Analyzer $(VERSION)" \
+       --title="tshark - The Wireshark Network Analyzer $(VERSION)" \
+       --css=ws.css \
        --noindex                                 \
-       tethereal.pod > tethereal.html
+       tshark.pod > tshark.html
 
-ethereal-filter.4: ethereal-filter.pod ../config.h
+wireshark-filter.4: wireshark-filter.pod ../config.h
        $(POD2MAN)                     \
-       --center="The Ethereal Network Analyzer" \
+       --center="The Wireshark Network Analyzer" \
        --release=$(VERSION)                     \
-        ethereal-filter.pod > ethereal.4
+       wireshark-filter.pod > wireshark.4
 
-ethereal-filter.html: ethereal-filter.pod ../config.h
+wireshark-filter.html: wireshark-filter.pod ../config.h ws.css
        $(POD2HTML)                    \
-       --title="The Ethereal Network Analyzer $(VERSION)" \
+       --title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \
+       --css=ws.css \
        --noindex                                 \
-       ethereal-filter.pod > ethereal-filter.html
+       wireshark-filter.pod > wireshark-filter.html
+
+capinfos.1: capinfos.pod ../config.h
+       $(POD2MAN)                      \
+       --center="The Wireshark Network Analyzer" \
+       --release=$(VERSION)                     \
+       capinfos.pod > capinfos.1
+
+capinfos.html: capinfos.pod ../config.h ws.css
+       $(POD2HTML)                     \
+       --title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
+       --css=ws.css \
+       --noindex                                 \
+       capinfos.pod > capinfos.html
 
-ethereal-filter.pod: ethereal-filter.pod.template  ../tethereal.exe
-       cd ..
-       tethereal.exe -G | $(PERL) doc\dfilter2pod.pl doc\ethereal-filter.pod.template > doc\ethereal-filter.pod
-       cd doc
 
 editcap.1: editcap.pod ../config.h
        $(POD2MAN)                      \
-       --center="The Ethereal Network Analyzer" \
+       --center="The Wireshark Network Analyzer" \
        --release=$(VERSION)                     \
        editcap.pod > editcap.1
 
-editcap.html: editcap.pod ../config.h
+editcap.html: editcap.pod ../config.h ws.css
        $(POD2HTML)                     \
-       --title="The Ethereal Network Analyzer $(VERSION)" \
+       --title="editcap - The Wireshark Network Analyzer $(VERSION)" \
+       --css=ws.css \
        --noindex                                 \
        editcap.pod > editcap.html
 
-idl2eth.1: idl2eth.pod ../config.h
+idl2wrs.1: idl2wrs.pod ../config.h
        $(POD2MAN)                      \
-       --center="The Ethereal Network Analyzer" \
+       --center="The Wireshark Network Analyzer" \
        --release=$(VERSION)                     \
-       idl2eth.pod > idl2eth.1
+       idl2wrs.pod > idl2wrs.1
 
-idl2eth.html: idl2eth.pod ../config.h
+idl2wrs.html: idl2wrs.pod ../config.h ws.css
        $(POD2HTML)                     \
-       --title="The Ethereal Network Analyzer $(VERSION)" \
+       --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
+       --css=ws.css \
        --noindex                                 \
-       idl2eth.pod > idl2eth.html
+       idl2wrs.pod > idl2wrs.html
 
 mergecap.1: mergecap.pod ../config.h
        $(POD2MAN)                      \
-       --center="The Ethereal Network Analyzer" \
+       --center="The Wireshark Network Analyzer" \
        --release=$(VERSION)                     \
        mergecap.pod > mergecap.1
 
-mergecap.html: mergecap.pod ../config.h
+mergecap.html: mergecap.pod ../config.h ws.css
        $(POD2HTML)                     \
-       --title="The Ethereal Network Analyzer $(VERSION)" \
+       --title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
+       --css=ws.css \
        --noindex                                 \
        mergecap.pod > mergecap.html
 
 text2pcap.1: text2pcap.pod ../config.h
        $(POD2MAN)                      \
-       --center="The Ethereal Network Analyzer" \
+       --center="The Wireshark Network Analyzer" \
        --release=$(VERSION)                     \
        text2pcap.pod > text2pcap.1
 
-text2pcap.html: text2pcap.pod ../config.h
+text2pcap.html: text2pcap.pod ../config.h ws.css
        $(POD2HTML)                     \
-       --title="The Ethereal Network Analyzer $(VERSION)" \
+       --title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
+       --css=ws.css \
        --noindex                                 \
        text2pcap.pod > text2pcap.html
 
+dumpcap.1: dumpcap.pod ../config.h
+       $(POD2MAN)                      \
+       --center="The Wireshark Network Analyzer" \
+       --release=$(VERSION)                     \
+       dumpcap.pod > dumpcap.1
+
+dumpcap.html: dumpcap.pod ../config.h ws.css
+       $(POD2HTML)                     \
+       --title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
+       --css=ws.css \
+       --noindex                                 \
+       dumpcap.pod > dumpcap.html
+
+rawshark.1: rawshark.pod ../config.h
+       $(POD2MAN)                      \
+       --center="The Wireshark Network Analyzer" \
+       --release=$(VERSION)                     \
+       rawshark.pod > rawshark.1
+
+rawshark.html: rawshark.pod ../config.h ws.css
+       $(POD2HTML)                     \
+       --title="rawshark - The Wireshark Network Analyzer $(VERSION)" \
+       --css=ws.css \
+       --noindex                                 \
+       rawshark.pod > rawshark.html
+
 clean:
-       rm -f ethereal.html ethereal.1
-       rm -f tethereal.html tethereal.1
-       rm -f ethereal-filter.html ethereal-filter.4 ethereal-filter.pod
+       rm -f wireshark.html wireshark.1 wireshark.pod
+       rm -f tshark.html tshark.1
+       rm -f wireshark-filter.html wireshark-filter.4
+       rm -f capinfos.html capinfos.1
        rm -f editcap.html editcap.1
-       rm -f idl2eth.html idl2eth.1
+       rm -f idl2wrs.html idl2wrs.1
        rm -f mergecap.html mergecap.1
        rm -f text2pcap.html text2pcap.1
+       rm -f dumpcap.html dumpcap.1
+       rm -f rawshark.html rawshark.1
        rm -f pod2htm*
+       rm -f ws.css
+       rm -f AUTHORS-SHORT AUTHORS-SHORT-FORMAT
 
 distclean: clean
+
+maintainer-clean: distclean