diff options
Diffstat (limited to 'lib/libXft/man/Makefile.am')
-rw-r--r-- | lib/libXft/man/Makefile.am | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libXft/man/Makefile.am b/lib/libXft/man/Makefile.am index 990e9b305..24e78d819 100644 --- a/lib/libXft/man/Makefile.am +++ b/lib/libXft/man/Makefile.am @@ -1,2 +1,11 @@ -dist_man_MANS = Xft.3 xft-config.1 -EXTRA_DIST = xft-config.1.in Xft.3.in +libman_PRE = Xft.man +libmandir = $(LIB_MAN_DIR) +libman_DATA = $(libman_PRE:man=$(LIB_MAN_SUFFIX)) + +EXTRA_DIST = $(libman_PRE) +CLEANFILES = $(libman_DATA) +SUFFIXES = .$(LIB_MAN_SUFFIX) .man + +# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure +.man.$(LIB_MAN_SUFFIX): + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ |