diff options
Diffstat (limited to 'man/Makefile.am')
-rw-r--r-- | man/Makefile.am | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index abb555d..b306de2 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -13,18 +13,11 @@ SUFFIXES = .$(LIB_MAN_SUFFIX) .man # Strings to replace in man pages XORGRELSTRING = @PACKAGE_STRING@ -MAN_SUBSTS = \ - -e 's|__xorgversion__|"$(XORGRELSTRING)"|' \ - -e 's|__XCURSORPATH__|$(XCURSORPATH_LIST)|g' \ - -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ - -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \ - -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ - -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ - -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' +# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure +MAN_SUBSTS = -e 's|__XCURSORPATH__|$(XCURSORPATH_LIST)|g' .man.$(LIB_MAN_SUFFIX): - -rm -f $@ - sed $(MAN_SUBSTS) < $< > $@ + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ # Generate man page shadow files |