From 86b14c32a9ab02cab3801382a7ac016ec5047697 Mon Sep 17 00:00:00 2001 From: Raphael Graf Date: Fri, 8 Feb 2019 19:16:56 +0100 Subject: [PATCH] Avoid gmake-specific pattern substitution in Makefile.am. Resolves #2226 --- doc/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index c0eeda848e..660b7cc556 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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