From c7d048dacf3fce6f3121cf0114fd08bb130130b8 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 24 Aug 2006 19:21:47 -0700 Subject: Use version number from configure.ac in Xcursor.man instead of "Version 1.0" --- man/Makefile.am | 5 ++++- man/Xcursor.man | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'man') 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 -- cgit v1.2.3