aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-12-13 07:07:58 -0500
committerB. Watson <urchlay@slackware.uk>2024-12-13 07:07:58 -0500
commitcefb2c5c9d1ebb0f75a58382324cbb2b9bfc4ad8 (patch)
treea1d8db3c2154313ee864014ee8f744f973f67928 /Makefile
parent049360816bd760d229463ed461b443b2a7d212fe (diff)
downloaduxd-cefb2c5c9d1ebb0f75a58382324cbb2b9bfc4ad8.tar.gz
parameterize VERSION in man page
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