Skip to content

Commit

Permalink
Merge pull request tesseract-ocr#2227 from rrrapha/doc-makefile
Browse files Browse the repository at this point in the history
Avoid gmake-specific pattern substitution in Makefile.am.
  • Loading branch information
zdenop authored Feb 14, 2019
2 parents 6256df1 + 86b14c3 commit b67ff53
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b67ff53

Please sign in to comment.