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 /man/Makefile.am | |
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>
Diffstat (limited to 'man/Makefile.am')
-rw-r--r-- | man/Makefile.am | 3 |
1 files changed, 3 insertions, 0 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) < $< > $@ |