From: Michał Górny Date: Wed, 4 Jan 2012 17:29:22 +0000 (+0100) Subject: man: Fix out-of-source manpage builds. X-Git-Tag: v38~72 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=8df5c320a502786834a715eb30dc763ad74670e8 man: Fix out-of-source manpage builds. --- diff --git a/Makefile.am b/Makefile.am index 21cac4e56..b778b1a2c 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