summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/Makefile.am3
-rw-r--r--man/libinput.man2
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