diff options
author | B. Watson <urchlay@slackware.uk> | 2024-12-13 07:07:58 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-12-13 07:07:58 -0500 |
commit | cefb2c5c9d1ebb0f75a58382324cbb2b9bfc4ad8 (patch) | |
tree | a1d8db3c2154313ee864014ee8f744f973f67928 | |
parent | 049360816bd760d229463ed461b443b2a7d212fe (diff) | |
download | uxd-cefb2c5c9d1ebb0f75a58382324cbb2b9bfc4ad8.tar.gz |
parameterize VERSION in man page
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | uxd.1 | 2 | ||||
-rw-r--r-- | uxd.rst | 3 | ||||
-rw-r--r-- | ver.rst | 1 |
4 files changed, 8 insertions, 3 deletions
@@ -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 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "UXD" 1 "2024-12-13" "0.0.1" "Urchlay's Utilities" +.TH "UXD" 1 "2024-12-13" "0.1.0" "Urchlay's Utilities" .SH NAME uxd \- UTF-8 hex dumper .SH SYNOPSIS @@ -1,4 +1,5 @@ -.. |version| replace:: 0.0.1 +.. include:: ver.rst + .. |date| date:: === @@ -0,0 +1 @@ +.. |version| replace:: 0.1.0 |