Commit 7c5415a2 for tesseract
commit 7c5415a2c1c10fa3be9f25763e2300732d5e72e5
Author: Stefan Weil <sw@weilnetz.de>
Date: Wed Jan 13 08:31:40 2021 +0100
automake: Fix flat build for doc
Signed-off-by: Stefan Weil <sw@weilnetz.de>
diff --git a/Makefile.am b/Makefile.am
index 4c0b82ef..e61955bb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1035,10 +1035,10 @@ SUFFIXES = .asc .html .pdf
.asc:
if HAVE_XML_CATALOG_FILES
asciidoc -b docbook -d manpage -o - $< | \
- XML_CATALOG_FILES=$(XML_CATALOG_FILES) xsltproc --nonet $(man_xslt) -
+ XML_CATALOG_FILES=$(XML_CATALOG_FILES) xsltproc --nonet -o $@ $(man_xslt) -
else
asciidoc -b docbook -d manpage -o - $< | \
- xsltproc --nonet $(man_xslt) -
+ xsltproc --nonet -o $@ $(man_xslt) -
endif
.asc.html: