a static website generated using m4 and make
01ee00da — Matthew Graybosch 6 months ago
Merge branch 'master' of git.sr.ht:~demifiend/m4-website
2d626378 — Matthew Graybosch 6 months ago
everything personal has been stripped out.
55b09c47 — Matthew Graybosch 6 months ago
Doing local build/deployment now.


browse  log 



You can also use your local clone with git send-email.


This is an attempt at using the classic m4 macro language and BSD make to generate a static website. We then use openrsync (introduced in OpenBSD 6.5) for deployment. If you aren't familiar with m4, chances are typing man m4 or info m4 into your shell will give you an introduction of sorts. Otherwise, try reading the following articles:


Why m4? Why not a more modern static site generator?

Why m4? Why not? I want to see how much I can do with a default OpenBSD installation. Since OpenBSD comes with make and m4, I figured it might be worthwhile to try using these tools to build a website.

Please don't tell me you used ed to write the code and text.

OK. I won't. (But I totally did.)