summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@bluenote.herrb.com>2007-09-29 23:50:55 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2023-06-15 17:43:43 +0200
commitfb3fa780d139b2fbed8a545d88bfc4de2404f772 (patch)
treeef5a9ba98129bf5cb75c9c64bd98346871cadf3e
parent93483ce75b9058c30173a897288ed89b0c45c943 (diff)
Use an explicit rule that works for builddir != srcdir with BSD make.
-rw-r--r--man/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index cbed2eb..96fcd73 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -31,8 +31,8 @@ MAINTAINERCLEANFILES = $(libman_xml:xml=man)
SUFFIXES = .$(LIB_MAN_SUFFIX) .man .xml
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
-.man.$(LIB_MAN_SUFFIX):
- $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
+Xcomposite.$(LIB_MAN_SUFFIX): Xcomposite.man
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < ${srcdir}/Xcomposite.man > Xcomposite.${LIB_MAN_SUFFIX}
# Generate nroff sources from DocBook/xml