A book about the command line for humans.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
359 B

10 years ago
  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/