aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2008-02-22 20:03:36 +0000
committerGerald Combs <gerald@wireshark.org>2008-02-22 20:03:36 +0000
commit4f996bd670188239ec26d78461b1c4d69977e808 (patch)
tree2a5dd9b8f005bc93f34698f5609ef7190a44ddd7 /doc
parent28394977662db1032b0fa9aadc3ffb7c946c9640 (diff)
Use the docbook CSS for the man pages (which assumes your version of
pod2html supports the "--css" flag). Package up the CSS file, and add missing HTML files where needed. svn path=/trunk/; revision=24428
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am33
-rw-r--r--doc/Makefile.nmake33
2 files changed, 46 insertions, 20 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 95ae6dfd90..defacd3976 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -27,15 +27,19 @@
wireshark-tmp.pod: $(srcdir)/wireshark.pod $(top_builddir)/AUTHORS-SHORT-FORMAT
cat $(srcdir)/wireshark.pod $(top_builddir)/AUTHORS-SHORT-FORMAT > wireshark-tmp.pod
+../ws.css: ../docbook/ws.css
+ cp ../docbook/ws.css ../
+
../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
-../wireshark.html: wireshark-tmp.pod ../config.h
+../wireshark.html: wireshark-tmp.pod ../config.h ../ws.css
$(POD2HTML) \
--title="The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
wireshark-tmp.pod > ../wireshark.html
@@ -45,9 +49,10 @@ wireshark-tmp.pod: $(srcdir)/wireshark.pod $(top_builddir)/AUTHORS-SHORT-FORMAT
--release=$(VERSION) \
$(srcdir)/tshark.pod > ../tshark.1
-../tshark.html: tshark.pod ../config.h
+../tshark.html: tshark.pod ../config.h ../ws.css
$(POD2HTML) \
--title="tshark - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
$(srcdir)/tshark.pod > ../tshark.html
@@ -58,9 +63,10 @@ wireshark-tmp.pod: $(srcdir)/wireshark.pod $(top_builddir)/AUTHORS-SHORT-FORMAT
--release=$(VERSION) \
wireshark-filter.pod > ../wireshark-filter.4
-../wireshark-filter.html: wireshark-filter.pod ../config.h
+../wireshark-filter.html: wireshark-filter.pod ../config.h ../ws.css
$(POD2HTML) \
--title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
wireshark-filter.pod > ../wireshark-filter.html
@@ -73,9 +79,10 @@ wireshark-filter.pod: wireshark-filter.pod.template ../tshark
--release=$(VERSION) \
$(srcdir)/capinfos.pod > ../capinfos.1
-../capinfos.html: capinfos.pod ../config.h
+../capinfos.html: capinfos.pod ../config.h ../ws.css
$(POD2HTML) \
--title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
$(srcdir)/capinfos.pod > ../capinfos.html
@@ -85,9 +92,10 @@ wireshark-filter.pod: wireshark-filter.pod.template ../tshark
--release=$(VERSION) \
$(srcdir)/editcap.pod > ../editcap.1
-../editcap.html: editcap.pod ../config.h
+../editcap.html: editcap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="editcap - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
$(srcdir)/editcap.pod > ../editcap.html
@@ -97,9 +105,10 @@ wireshark-filter.pod: wireshark-filter.pod.template ../tshark
--release=$(VERSION) \
$(srcdir)/idl2wrs.pod > ../idl2wrs.1
-../idl2wrs.html: idl2wrs.pod ../config.h
+../idl2wrs.html: idl2wrs.pod ../config.h ../ws.css
$(POD2HTML) \
--title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
$(srcdir)/idl2wrs.pod > ../idl2wrs.html
@@ -109,9 +118,10 @@ wireshark-filter.pod: wireshark-filter.pod.template ../tshark
--release=$(VERSION) \
$(srcdir)/mergecap.pod > ../mergecap.1
-../mergecap.html: mergecap.pod ../config.h
+../mergecap.html: mergecap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
$(srcdir)/mergecap.pod > ../mergecap.html
@@ -121,9 +131,10 @@ wireshark-filter.pod: wireshark-filter.pod.template ../tshark
--release=$(VERSION) \
$(srcdir)/text2pcap.pod > ../text2pcap.1
-../text2pcap.html: text2pcap.pod ../config.h
+../text2pcap.html: text2pcap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
$(srcdir)/text2pcap.pod > ../text2pcap.html
@@ -133,9 +144,10 @@ wireshark-filter.pod: wireshark-filter.pod.template ../tshark
--release=$(VERSION) \
$(srcdir)/dumpcap.pod > ../dumpcap.1
-../dumpcap.html: dumpcap.pod ../config.h
+../dumpcap.html: dumpcap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
$(srcdir)/dumpcap.pod > ../dumpcap.html
@@ -145,9 +157,10 @@ wireshark-filter.pod: wireshark-filter.pod.template ../tshark
--release=$(VERSION) \
$(srcdir)/rawshark.pod > ../rawshark.1
-../rawshark.html: rawshark.pod ../config.h
+../rawshark.html: rawshark.pod ../config.h ../ws.css
$(POD2HTML) \
--title="rawshark - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
$(srcdir)/rawshark.pod > ../rawshark.html
diff --git a/doc/Makefile.nmake b/doc/Makefile.nmake
index 08e6b39870..a80067ea1f 100644
--- a/doc/Makefile.nmake
+++ b/doc/Makefile.nmake
@@ -41,15 +41,19 @@ wireshark-tmp.pod: wireshark.pod ../AUTHORS-SHORT-FORMAT
$(MAKE) /$(MAKEFLAGS) -f makefile.nmake AUTHORS-SHORT-FORMAT
cd doc
+../ws.css: ../docbook/ws.css:
+ copy ..\docbook\ws.css ..
+
wireshark.1: wireshark.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
--release=$(VERSION) \
wireshark-tmp.pod > wireshark.1
-wireshark.html: wireshark-tmp.pod ../config.h
+wireshark.html: wireshark-tmp.pod ../config.h ../ws.css
$(POD2HTML) \
--title="The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
wireshark-tmp.pod > wireshark.html
@@ -64,9 +68,10 @@ tshark.1: tshark.pod ../config.h
--release=$(VERSION) \
tshark.pod > tshark.1
-tshark.html: tshark.pod ../config.h
+tshark.html: tshark.pod ../config.h ../ws.css
$(POD2HTML) \
--title="tshark - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
tshark.pod > tshark.html
@@ -76,9 +81,10 @@ wireshark-filter.4: wireshark-filter.pod ../config.h
--release=$(VERSION) \
wireshark-filter.pod > wireshark.4
-wireshark-filter.html: wireshark-filter.pod ../config.h
+wireshark-filter.html: wireshark-filter.pod ../config.h ../ws.css
$(POD2HTML) \
--title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
wireshark-filter.pod > wireshark-filter.html
@@ -95,9 +101,10 @@ capinfos.1: capinfos.pod ../config.h
--release=$(VERSION) \
capinfos.pod > capinfos.1
-capinfos.html: capinfos.pod ../config.h
+capinfos.html: capinfos.pod ../config.h ../ws.css
$(POD2HTML) \
--title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
capinfos.pod > capinfos.html
@@ -108,9 +115,10 @@ editcap.1: editcap.pod ../config.h
--release=$(VERSION) \
editcap.pod > editcap.1
-editcap.html: editcap.pod ../config.h
+editcap.html: editcap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="editcap - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
editcap.pod > editcap.html
@@ -120,9 +128,10 @@ idl2wrs.1: idl2wrs.pod ../config.h
--release=$(VERSION) \
idl2wrs.pod > idl2wrs.1
-idl2wrs.html: idl2wrs.pod ../config.h
+idl2wrs.html: idl2wrs.pod ../config.h ../ws.css
$(POD2HTML) \
--title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
idl2wrs.pod > idl2wrs.html
@@ -132,9 +141,10 @@ mergecap.1: mergecap.pod ../config.h
--release=$(VERSION) \
mergecap.pod > mergecap.1
-mergecap.html: mergecap.pod ../config.h
+mergecap.html: mergecap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
mergecap.pod > mergecap.html
@@ -144,9 +154,10 @@ text2pcap.1: text2pcap.pod ../config.h
--release=$(VERSION) \
text2pcap.pod > text2pcap.1
-text2pcap.html: text2pcap.pod ../config.h
+text2pcap.html: text2pcap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
text2pcap.pod > text2pcap.html
@@ -156,9 +167,10 @@ dumpcap.1: dumpcap.pod ../config.h
--release=$(VERSION) \
dumpcap.pod > dumpcap.1
-dumpcap.html: dumpcap.pod ../config.h
+dumpcap.html: dumpcap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
dumpcap.pod > dumpcap.html
@@ -168,9 +180,10 @@ rawshark.1: rawshark.pod ../config.h
--release=$(VERSION) \
rawshark.pod > rawshark.1
-rawshark.html: rawshark.pod ../config.h
+rawshark.html: rawshark.pod ../config.h ../ws.css
$(POD2HTML) \
--title="rawshark - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
--noindex \
rawshark.pod > rawshark.html