2022-10-18 17:20:26 +00:00
|
|
|
SRC = $(wildcard *.md)
|
|
|
|
HTML = $(addprefix html/, $(SRC:.md=.html))
|
|
|
|
|
|
|
|
html/%.html: %.md
|
|
|
|
@mkdir --parents html
|
|
|
|
markdown $^ > $@
|
2022-10-19 08:57:30 +00:00
|
|
|
pandoc $^ --standalone --output $@
|
2022-10-18 17:20:26 +00:00
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: $(HTML)
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
$(RM) $(HTML)
|
|
|
|
$(RM) -d html
|