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

chapters = $(shell cat chapters)
all: index.html
index.html: ${chapters} chapters render.pl footer.html header.html
cat chapters | xargs ./render.pl | cat header.html - footer.html > $@
publish: index.html
git push
make
scp index.html root@p1k3.com:/var/www/userland-book/
pubimages: publish
scp images/* root@p1k3.com:/var/www/userland-book/images/