a technical notebook

Makefile 386B

12345678910
  1. all: index.html
  2. # this is only going to keep working properly as long as I have fewer chapters
  3. # than the max number of arguments to xargs
  4. index.html: entries/* render.pl footer.html header.html
  5. ls entries/* | xargs ./render.pl | cat header.html - footer.html > $@
  6. publish: index.html
  7. git push
  8. ssh -A squiggle.city 'cd public_html/workings-book && git pull && git feed > feed.xml'