1 2 3 4 5 6 7
ADOC_FILES := $(wildcard *.adoc) HTML_FILES := $(ADOC_FILES:%.adoc=%.html) all: $(HTML_FILES) %.html : %.adoc asciidoctor $^ -o $@