A book about the command line for humans.

Makefile 359B

1234567891011121314
  1. chapters = $(shell cat chapters)
  2. all: index.html
  3. index.html: ${chapters} chapters render.pl footer.html header.html
  4. cat chapters | xargs ./render.pl | cat header.html - footer.html > $@
  5. publish: index.html
  6. git push
  7. make
  8. scp index.html root@p1k3.com:/var/www/userland-book/
  9. pubimages: publish
  10. scp images/* root@p1k3.com:/var/www/userland-book/images/