hgbook
changeset 153:cf24633b8de7
Set up simple distribution rules.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Mar 12 21:10:19 2007 -0700 (2007-03-12) |
parents | 44f233544e9e |
children | e7f48702d409 |
files | en/Makefile |
line diff
1.1 --- a/en/Makefile Thu Mar 08 23:35:57 2007 -0800 1.2 +++ b/en/Makefile Mon Mar 12 21:10:19 2007 -0700 1.3 @@ -169,9 +169,18 @@ 1.4 echo -n $(hg_id) > build_id.tex 1.5 1.6 clean: 1.7 - rm -rf html pdf \ 1.8 + rm -rf dist html pdf \ 1.9 $(image-dot:%.dot=%.pdf) \ 1.10 $(image-dot:%.dot=%.png) \ 1.11 $(image-svg:%.svg=%.pdf) \ 1.12 $(image-svg:%.svg=%.png) \ 1.13 examples/*.{lxo,run} examples/.run build_id.tex 1.14 + 1.15 +install: pdf split 1.16 + rm -rf dist 1.17 + mkdir -p dist 1.18 + cp pdf/hgbook.pdf dist 1.19 + cp html/split/*.{css,html,png} dist 1.20 + 1.21 +rsync: install 1.22 + rsync -avz --delete dist sp.red-bean.com:public_html/hgbook