3 ms·
This looks a lot like a Make rule to me. %.html: %.md generatehtml $^ >$@
by toxik 8y ago
This looks a lot like a Make rule to me.
%.html: %.md
generatehtml $^ >$@
- creatornator 8y agoI've actually experimented a bit using make+pandoc as a static site generator/pdf compiler. It semantics of make actually transfer pretty well.
- flukus 8y agoHere's a slightly more involved but still incredibly simple one I put together: https://flukus.github.io/building-a-blog-engine.html https://flukus.github.io/building-a-blog-engine.html Turned out a hell of a lot faster than any static site generator I've used.
- toxik 8y agoThose who are unaware of history is doomed to repeat it, eh. I use makefiles for a lot of things, they're very straight-forward. If you just follow the UNIX design philosophy, your programs are going to be makefile-useable anyways.