Skip to content

Commit

Permalink
Avoid gmake-specific pattern substitution in Makefile.am.
Browse files Browse the repository at this point in the history
Resolves #2226
  • Loading branch information
rrrapha committed Feb 8, 2019
1 parent ec8f02c commit 86b14c3
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 86b14c3

Please sign in to comment.