mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Avoid gmake-specific pattern substitution in Makefile.am.
Resolves #2226
This commit is contained in:
parent
ec8f02c0de
commit
86b14c32a9
@ -32,13 +32,15 @@ EXTRA_DIST = $(man_MANS) Doxyfile
|
||||
|
||||
.PHONY: html
|
||||
|
||||
html: $(patsubst %,%.html,$(man_MANS))
|
||||
html: ${man_MANS:%=%.html}
|
||||
|
||||
%: %.asc
|
||||
SUFFIXES = .asc .html
|
||||
|
||||
.asc:
|
||||
asciidoc -b docbook -d manpage -o - $< | \
|
||||
xsltproc --nonet $(man_xslt) -
|
||||
|
||||
%.html: %.asc
|
||||
.asc.html:
|
||||
asciidoc -b html5 -o $@ $<
|
||||
|
||||
MAINTAINERCLEANFILES = $(man_MANS) Doxyfile
|
||||
|
Loading…
Reference in New Issue
Block a user