Want to make an amazing webbed site like the one burning its way into your very brain now? Here you go:

POSTS = ...

.phony: all

.SUFFIXES: .in .html

all: ${POSTS:S/$/.html$/}


.in.html:
	cat templates/html_header.html $< templates/html_footer.html > ~/www/$@

No really, that's what makes this site. Put your header-ey stuff in templates/html_header.html, the footer-ey stuff in templates/html_footer.html. I keep my www directory in ~/www but you can do whatever, I'm not your mom. Replace the ... with your list of .html files. For what it's worth this runs on bmake, I use openbsd as my primary OS. It doesn't work on GNU Make as far as I know.


But this page is ugly!
Why?