1 .PHONY
: target
clean sync push
3 target
: book book
/default.css
5 TXTFILES
=preface.txt intro.txt basic.txt clone.txt branch.txt grandmaster.txt secrets.txt
8 ( for FILE in
$^
; do cat
$$FILE ; echo
; done
) | asciidoc
-d book
-b docbook
- > $@
11 xmlto
-m custom-html.xsl
-o book html book.xml
12 sed
-i
's/xmlns:fo[^ ]*//g' book
/*.html
13 ls book
/*.html | xargs
-n
1 tidy
-utf8
-m
-i
-q
16 book
/default.css
: book.css
18 rsync book.css book
/default.css
21 xmlto
-m custom-nochunks.xsl html-nochunks
$^
28 -rm -rf book.xml book.html book
31 git-push blynn@git.or.cz
:srv
/git
/gitmagic.git
34 rsync
-r book
/* blynn@tl1.stanford.edu
:www
/gitmagic
/