summaryrefslogtreecommitdiffstats
path: root/man/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'man/Makefile')
-rw-r--r--man/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/Makefile b/man/Makefile
new file mode 100644
index 0000000..c635dfc
--- /dev/null
+++ b/man/Makefile
@@ -0,0 +1,4 @@
+VERSION=`python3 -c "import asciinema; print(asciinema.__version__)"`
+
+asciinema.1: asciinema.1.md
+ pandoc asciinema.1.md -s -t man -o asciinema.1 -V header:"Version $(VERSION), `date +%Y-%m-%d`"