aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-04 06:57:10 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-04 06:57:10 +0000
commit5027073407193719046f1a660d127630f15bcbe6 (patch)
tree6f60c7ef913dad8dd24901bda667456b6c4bcb36 /doc
parenta2251afaffd032b164031b0e3da422f525838cf0 (diff)
From Hamish Moffatt:
Add some missing files in the "clean" targets. Use pod2html rather than man2html to build HTML man pages. Fix ethereal.nsi.in for recent versions of NSIS, and fix a typo. svn path=/trunk/; revision=4475
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.nmake60
1 files changed, 38 insertions, 22 deletions
diff --git a/doc/Makefile.nmake b/doc/Makefile.nmake
index 0c5ddddbb0..fc6cfe4e7d 100644
--- a/doc/Makefile.nmake
+++ b/doc/Makefile.nmake
@@ -1,7 +1,7 @@
# Makefile.nmake
# Nmake file for Ethereal documentation
#
-# $Id: Makefile.nmake,v 1.5 2001/07/30 21:40:13 guy Exp $
+# $Id: Makefile.nmake,v 1.6 2002/01/04 06:57:08 guy Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
@@ -29,33 +29,18 @@ include ../config.nmake
doc: ethereal.html tethereal.html editcap.html idl2eth.html \
mergecap.html text2pcap.html
-#
-# XXX - can't we just use "pod2html" here?
-#
-ethereal.html : ethereal.1
- man2html ethereal.1 > $@
-
-tethereal.html : tethereal.1
- man2html tethereal.1 > $@
-
-editcap.html : editcap.1
- man2html editcap.1 > $@
-
-idl2eth.html : idl2eth.1
- man2html idl2eth.1 > $@
-
-mergecap.html : mergecap.1
- man2html mergecap.1 > $@
-
-text2pcap.html : text2pcap.1
- man2html text2pcap.1 > $@
-
ethereal.1: ethereal.pod ../config.h
$(POD2MAN) ethereal.pod \
--center="The Ethereal Network Analyzer" \
--release=$(VERSION) \
> ethereal.1
+ethereal.html: ethereal.pod ../config.h
+ $(POD2HTML) ethereal.pod \
+ --title="The Ethereal Network Analyzer $(VERSION)" \
+ --noindex \
+ > ethereal.html
+
ethereal.pod: ethereal.pod.template ../tethereal.exe
..\\tethereal.exe -G | $(PERL) dfilter2pod.pl ethereal.pod.template > ethereal.pod
@@ -65,6 +50,12 @@ tethereal.1: tethereal.pod ../config.h
--release=$(VERSION) \
> tethereal.1
+tethereal.html: tethereal.pod ../config.h
+ $(POD2HTML) tethereal.pod \
+ --title="The Ethereal Network Analyzer $(VERSION)" \
+ --noindex \
+ > tethereal.html
+
tethereal.pod: tethereal.pod.template ../tethereal.exe
..\\tethereal.exe -G | $(PERL) dfilter2pod.pl tethereal.pod.template > tethereal.pod
@@ -74,24 +65,48 @@ editcap.1: editcap.pod ../config.h
--release=$(VERSION) \
> editcap.1
+editcap.html: editcap.pod ../config.h
+ $(POD2HTML) editcap.pod \
+ --title="The Ethereal Network Analyzer $(VERSION)" \
+ --noindex \
+ > editcap.html
+
mergecap.1: mergecap.pod ../config.h
$(POD2MAN) mergecap.pod \
--center="The Ethereal Network Analyzer" \
--release=$(VERSION) \
> mergecap.1
+mergecap.html: mergecap.pod ../config.h
+ $(POD2HTML) mergecap.pod \
+ --title="The Ethereal Network Analyzer $(VERSION)" \
+ --noindex \
+ > mergecap.html
+
idl2eth.1: idl2eth.pod ../config.h
$(POD2MAN) idl2eth.pod \
--center="The Ethereal Network Analyzer" \
--release=$(VERSION) \
> idl2eth.1
+idl2eth.html: idl2eth.pod ../config.h
+ $(POD2HTML) idl2eth.pod \
+ --title="The Ethereal Network Analyzer $(VERSION)" \
+ --noindex \
+ > idl2eth.html
+
text2pcap.1: text2pcap.pod ../config.h
$(POD2MAN) text2pcap.pod \
--center="The Ethereal Network Analyzer" \
--release=$(VERSION) \
> text2pcap.1
+text2pcap.html: text2pcap.pod ../config.h
+ $(POD2HTML) text2pcap.pod \
+ --title="The Ethereal Network Analyzer $(VERSION)" \
+ --noindex \
+ > text2pcap.html
+
clean:
rm -f ethereal.html ethereal.1 ethereal.pod
rm -f tethereal.html tethereal.1 tethereal.pod
@@ -99,3 +114,4 @@ clean:
rm -f idl2eth.html idl2eth.1
rm -f mergecap.html mergecap.1
rm -f text2pcap.html text2pcap.1
+ rm -f pod2htm*