summaryrefslogtreecommitdiff
path: root/docs/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Makefile.am')
-rw-r--r--docs/Makefile.am41
1 files changed, 41 insertions, 0 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
new file mode 100644
index 0000000..dfc5d73
--- /dev/null
+++ b/docs/Makefile.am
@@ -0,0 +1,41 @@
+MAKEFLAGS=-s
+
+.PHONY: manpages
+
+docs: clean-docs manpages
+
+web/tcpreplay.html:
+ @GROFF@ -Thtml -mman ../src/tcpreplay.1 > web/tcpreplay.html
+
+web/tcpprep.html:
+ @GROFF@ -Thtml -mman ../src/tcpprep.1 > web/tcpprep.html
+
+web/tcprewrite.html:
+ @GROFF@ -Thtml -mman ../src/tcprewrite.1 > web/tcprewrite.html
+
+web/tcpbridge.html:
+ @GROFF@ -Thtml -mman ../src/tcpbridge.1 > web/tcpbridge.html
+
+web/tcpreplay-edit.html:
+ @GROFF@ -Thtml -mman ../src/tcpreplay-edit.1 > web/tcpreplay-edit.html
+
+manpages: web/tcpreplay.html web/tcpprep.html web/tcprewrite.html \
+ web/tcpbridge.html web/tcpreplay-edit.html
+
+postweb: manpages
+ rsync -qe ssh --exclude '.svn/' --exclude '/**/.svn/' --exclude '/**~' \
+ --exclude '*~' -avz web/ \
+ [email protected]:/var/vhosts/tcpreplay/
+ scp CHANGELOG TODO [email protected]:/var/vhosts/tcpreplay/
+
+
+EXTRA_DIST = CHANGELOG CREDIT HACKING INSTALL LICENSE Win32Readme.txt
+
+clean-docs: clean
+ -rm -f web/*.html
+
+maintainer-clean-local: clean-docs
+ -rm -f web/*.html
+
+MAINTAINERCLEANFILES = Makefile.in
+