Index: Makefile.am =================================================================== RCS file: /cvs/xorg/app/xcursorgen/Makefile.am,v retrieving revision 1.2 diff -u -r1.2 Makefile.am --- Makefile.am 20 Oct 2005 23:20:13 -0000 1.2 +++ Makefile.am 12 Nov 2005 17:48:31 -0000 @@ -6,6 +6,17 @@ xcursorgen_LDADD = @XCURSORGEN_LIBS@ -man1_MANS = xcursorgen.man +appmandir = $(mandir)/man$(APP_MAN_SUFFIX) -EXTRA_DIST = xcursorgen.man +appman_SOURCES = xcursorgen.man +appman_DATA = $(appman_SOURCES:man=@APP_MAN_SUFFIX@) + +EXTRA_DIST = $(appman_SOURCES) +CLEANFILES = $(appman_DATA) + +MAN_SUBSTS = -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' + +SUFFIXES = .$(APP_MAN_SUFFIX) .man + +.man.$(APP_MAN_SUFFIX): + sed $(MAN_SUBSTS) < $< > $@ Index: configure.ac =================================================================== RCS file: /cvs/xorg/app/xcursorgen/configure.ac,v retrieving revision 1.4 diff -u -r1.4 configure.ac --- configure.ac 9 Nov 2005 21:09:20 -0000 1.4 +++ configure.ac 12 Nov 2005 17:48:31 -0000 @@ -17,6 +17,7 @@ AC_SUBST(XCURSOR_CFLAGS) AC_SUBST(XCURSOR_LIBS) +XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION AC_OUTPUT([Makefile])