From 43c16e732da84dca51253c78f2c41ed633eee247 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 19 Oct 2019 12:10:26 +0100 Subject: [PATCH] Fix building man pages on Mac OS X Signed-off-by: Michael Tremer --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.am b/Makefile.am index 63efb17..4aa490a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -371,6 +371,11 @@ XSLTPROC_COMMAND_MAN = \ $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) \ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< +# Let XSLT find its source on Mac OS X + ifeq ($(OS),Darwin) +export XML_CATALOG_FILES = /usr/local/etc/xml/catalog + endif + man/%.xml: man/%.txt man/asciidoc.conf $(AM_V_ASCIIDOC)$(MKDIR_P) $(dir $@) && \ $(ASCIIDOC) \ -- 2.47.3