listblog/Makefile

12 lines
214 B
Makefile
Raw Permalink Normal View History

2023-11-16 21:52:17 +00:00
SRCS := $(shell find src -name '*.md')
HTML := $(SRCS:src/%.md=%.html)
vpath %.md src
vpath %.html www
html: $(HTML)
%.html: %.md
pandoc -f markdown+autolink_bare_uris -t html5 \
--standalone \
-o www/$@ $<