diff options
-rw-r--r-- | man/Makefile.am | 5 | ||||
-rw-r--r-- | man/Xcursor.man | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index 00778a8..267572d 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -10,6 +10,9 @@ CLEANFILES = $(libman_DATA) SUFFIXES = .$(LIB_MAN_SUFFIX) .man +# Strings to replace in man pages +XORGRELSTRING = @PACKAGE_STRING@ + .man.$(LIB_MAN_SUFFIX): -rm -f $@ - $(LN_S) $< $@ + sed 's/__xorgversion__/"$(XORGRELSTRING)"/; s/__LIB_MAN_SUFFIX__/$(LIB_MAN_SUFFIX)/' < $< > $@ diff --git a/man/Xcursor.man b/man/Xcursor.man index c187579..81535e9 100644 --- a/man/Xcursor.man +++ b/man/Xcursor.man @@ -26,7 +26,7 @@ .ns .TP \\$1 .. -.TH XCURSOR 3 "Version 1.0" "Keith Packard" +.TH XCURSOR __LIB_MAN_SUFFIX__ __xorgversion__ "Keith Packard" .SH NAME XCURSOR \- Cursor management library |