summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-01-04 18:29:22 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-04 19:11:23 +0100
commit8df5c320a502786834a715eb30dc763ad74670e8 (patch)
tree3cc54d2d331790374a5cd8bf2544c13048c9e070
parentdf50185b43916926a72246ab3a80875eda7ad2a3 (diff)
man: Fix out-of-source manpage builds.
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 21cac4e56f..b778b1a2c6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2051,11 +2051,11 @@ XSLTPROC_PROCESS_MAN_IN = \
XSLTPROC_PROCESS_HTML = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
- $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) man/custom-html.xsl $<
+ $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
XSLTPROC_PROCESS_HTML_IN = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
- $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) man/custom-html.xsl $< && \
+ $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $< && \
mv ${@:.in=} $@
man/%.1: man/%.xml