diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2022-01-25 11:27:27 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2022-01-25 12:16:04 +1000 |
commit | efa999e3773894e80e25a44d778666d617742f19 (patch) | |
tree | 8142a60f83eee72ca426f922b1ed8cde63331ea7 | |
parent | 7b4a870b230aedcf4e50504144080ec0341c956c (diff) |
man: use @VERSION@ for the driver version
Makes use of meson easier which requires @ as pre/suffix for variables.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | man/Makefile.am | 3 | ||||
-rw-r--r-- | man/libinput.man | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index 8e4bb60..edd9313 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -32,6 +32,9 @@ CLEANFILES = $(driverman_DATA) SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man +MAN_SUBSTS += \ + -e 's|\@VERSION\@|$(PACKAGE_NAME) $(PACKAGE_VERSION)|g' + # String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure .man.$(DRIVER_MAN_SUFFIX): $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ diff --git a/man/libinput.man b/man/libinput.man index ddd126a..4238538 100644 --- a/man/libinput.man +++ b/man/libinput.man @@ -1,6 +1,6 @@ .\" shorthand for double quote that works everywhere. .ds q \N'34' -.TH LIBINPUT 4 __vendorversion__ +.TH LIBINPUT 4 @VERSION@ .SH NAME libinput \- libinput-based X.Org input driver .SH SYNOPSIS |