diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-11-13 17:59:28 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-11-13 17:59:28 +0000 |
commit | 54d9a60a1891c1c1938db00d835b8fe0a12327c6 (patch) | |
tree | 3203b74d316029585b72ea1aeef28fe308023324 | |
parent | f0dfdfc7b4ee020ffb83a9179b9d4d4a6139b5e1 (diff) |
Use $(LIB_MAN_SUFFIX) instead of forcing man page into section 3.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | man/Makefile.am | 16 |
3 files changed, 21 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2005-11-13 Alan Coopersmith <alan.coopersmith@sun.com> + + * configure.ac: + * man/Makefile.am: + Use $(LIB_MAN_SUFFIX) instead of forcing man page into section 3. + 2005-11-09 Kevin E. Martin <kem-at-freedesktop-dot-org> * configure.ac: diff --git a/configure.ac b/configure.ac index f963f30..2d02778 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,7 @@ AC_DEFINE(HAVE_XFIXES, 1, [Define to 1 if you have Xfixes]) AC_SUBST(XCURSOR_CFLAGS) AC_SUBST(XCURSOR_LIBS) +XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION AC_OUTPUT([Makefile diff --git a/man/Makefile.am b/man/Makefile.am index 94cca7f..c1abd06 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,3 +1,15 @@ -man_MANS = Xcursor.3 +libmandir = $(mandir)/man$(LIB_MAN_SUFFIX) -EXTRA_DIST = $(man_MANS) +libman_SOURCES = Xcursor.man +libman_DATA = $(libman_SOURCES:man=@LIB_MAN_SUFFIX@) + +all-local: $(libman_DATA) + +EXTRA_DIST = $(libman_SOURCES) +CLEANFILES = $(libman_DATA) + +SUFFIXES = .$(LIB_MAN_SUFFIX) .man + +.man.$(LIB_MAN_SUFFIX): + -rm -f $@ + $(LN_S) $< $@ |