aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0417ed8..8aa4cf2 100644
--- a/Makefile
+++ b/Makefile
@@ -41,8 +41,11 @@ test: uxd
man: uxd.1
-uxd.1: uxd.rst
+uxd.1: uxd.rst ver.rst
rst2man uxd.rst > uxd.1
+ver.rst:
+ echo '.. |version| replace:: $(VERSION)' > ver.rst
+
clean:
rm -f uxd