summaryrefslogtreecommitdiff
path: root/src/man/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/man/Makefile')
-rw-r--r--src/man/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/man/Makefile b/src/man/Makefile
new file mode 100644
index 0000000..1b3a824
--- /dev/null
+++ b/src/man/Makefile
@@ -0,0 +1,10 @@
+all: manpage
+
+docbook: anytun.txt
+ asciidoc -b docbook -d manpage anytun.txt
+
+manpage: docbook
+ xmlto man anytun.xml
+
+clean:
+ rm -f anytun.8 anytun.xml