all: html # Generate html from all md files in src/, in out/ html: Makefile $(patsubst src/%,out/%,$(patsubst %.md,%.html,$(wildcard src/*.md src/quickref/*.md))) # keep synced with above # keep src/*.md filenames clean (no apostrophes..) or this will break clean: rm -f $(patsubst src/%,out/%,$(patsubst %.md,%.html,$(wildcard src/*.md src/quickref/*.md))) PANDOC?=pandoc # regenerate part of finance.md from finance/* finance-md: sed '/