summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-06-11 14:22:06 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-06-16 14:12:24 -0400
commit22a2c7feb18a18a700a736c3f4a65951dbebe990 (patch)
tree4b9b7a8360a229af792d87e549dcc5ae68fa5431
parent144210ab4962c5b00fea4fdc4f01050841a8d67c (diff)
config: add comment regarding MAN_SUBSTS variable usage
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--configure.ac2
-rw-r--r--man/Makefile.am1
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c41b691..68e9934 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,7 @@ AM_MAINTAINER_MODE
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
-# Initialize X.Org macros
+# Initialize X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.8)
diff --git a/man/Makefile.am b/man/Makefile.am
index 23fcf1d..79dba76 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -40,6 +40,7 @@ CLEANFILES = $(driverman_DATA) $(synclientman_DATA) $(syndaemonman_DATA)
SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
+# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
.man.$(DRIVER_MAN_SUFFIX):
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
.man.$(APP_MAN_SUFFIX):