From cefb2c5c9d1ebb0f75a58382324cbb2b9bfc4ad8 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 13 Dec 2024 07:07:58 -0500 Subject: parameterize VERSION in man page --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3