recently I had to make a website for something. I usually don’t like html code created by tools, so I decided to code that stuff by myself. I couldn’t use PHP or anything like that because of server limitations, but I wanted a header and footer on every page without using iframes, so I wrote this small Makefile.

Note from future self: The Makefile was hosted on Dropbox and now it’s gone. Sorry.

What it does when you type make: For every .inc file in the directory it creates a .html file, which is just the .inc file with the file header.head in front and the file footer.foot after the content. css files are unaffected.

I hope it is as handy for you as it is for me.