.POSIX: .SUFFIXES: .md .env .html .md.env: sh src/development/frontmatter-env.sh < $< > $@ .md.html: sh src/development/genhtml.sh $< > $@ include files.mk include deps.mk torrents: $(torrent-files) $(torrent-files): files.mk deps.mk mktorrent -f -v -d -n $@ -o $@ -c '' "$$(echo $@ | sed 's/\.torrent$$//')" include generated.mk pastebins.env = $(pastebins.md:.md=.env) pastebins.html = $(pastebins.md:.md=.html) all: $(pastebins.env) $(pastebins.html)