aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.nmake
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-03-09 03:43:58 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-03-09 03:43:58 +0000
commit682dc85b3a45825a0452938e357b87cb6f86362c (patch)
tree8a46b5ab65f40ced945887cc76cc27c3c11aab53 /doc/Makefile.nmake
parent9c2f1a50057164aae2698f36ec8fa5ae88aa57f3 (diff)
Add ability to create HTML documentation on Windows, if you have
perl and man2html. Don't call this makefile from the parent makefile as not everyone will want to create documentation. Add a couple variables to config.nmake to support this. svn path=/trunk/; revision=3119
Diffstat (limited to 'doc/Makefile.nmake')
-rw-r--r--doc/Makefile.nmake39
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/Makefile.nmake b/doc/Makefile.nmake
new file mode 100644
index 0000000000..f82a829183
--- /dev/null
+++ b/doc/Makefile.nmake
@@ -0,0 +1,39 @@
+#
+# $Id: Makefile.nmake,v 1.1 2001/03/09 03:43:58 gram Exp $
+
+include ../config.nmake
+
+doc: ethereal.html tethereal.html editcap.html
+
+ethereal.html : ethereal.1
+ man2html ethereal.1 > $@
+
+tethereal.html : tethereal.1
+ man2html tethereal.1 > $@
+
+editcap.html : editcap.1
+ man2html editcap.1 > $@
+
+ethereal.1: ethereal.pod ../config.h
+ $(POD2MAN) ethereal.pod \
+ --center="The Ethereal Network Analyzer" \
+ --release=$(VERSION) \
+ > ethereal.1
+
+ethereal.pod: ethereal.pod.template ../tethereal.exe
+ ..\\tethereal.exe -G | $(PERL) dfilter2pod.pl ethereal.pod.template > ethereal.pod
+
+tethereal.1: tethereal.pod ../config.h
+ $(POD2MAN) tethereal.pod \
+ --center="The Ethereal Network Analyzer" \
+ --release=$(VERSION) \
+ > tethereal.1
+
+tethereal.pod: tethereal.pod.template ../tethereal.exe
+ ..\\tethereal.exe -G | $(PERL) dfilter2pod.pl tethereal.pod.template > tethereal.pod
+
+editcap.1: editcap.pod ../config.h
+ $(POD2MAN) editcap.pod \
+ --center="The Ethereal Network Analyzer" \
+ --release=$(VERSION) \
+ > editcap.1