hgbook
diff it/Makefile @ 720:734111ce98ad
First literal translation of preface and a very tentative rough makefile.
author | Giulio@puck |
---|---|
date | Mon Jun 08 02:06:58 2009 +0200 (2009-06-08) |
parents | |
children | 96c012342355 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/it/Makefile Mon Jun 08 02:06:58 2009 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +include Makefile.vars 1.5 + 1.6 +xml-src-files := \ 1.7 + 00book.xml \ 1.8 + #app*.xml \ 1.9 + ch*.xml 1.10 + 1.11 +obj-web := html 1.12 + 1.13 +html: ${obj-web}/index.html 1.14 + 1.15 +#$(obj-web)/index.html: ../stylesheets/system-xsl .validated-00book.xml #../web/index-read.html.in 1.16 +$(obj-web)/index.html: .validated-00book.xml 1.17 + xsltproc $(xsltproc-opts) -o $(obj-web)/x ../stylesheets/chunk-stylesheet.xsl 00book.xml 1.18 +# python ../web/texpand.py ../web/index-read.html.in html/read/index.html 1.19 +# for i in $(obj-web-read)/*.html; do \ 1.20 +# gzip -9 -c $$i > $$i.gz; \ 1.21 +# done 1.22 + 1.23 +#../stylesheets/system-xsl: $(system-xsl-dir) 1.24 +# ln -s $< $@ 1.25 + 1.26 +valid: .validated-00book.xml 1.27 + 1.28 +.validated-00book.xml: $(xml-src-files) #examples/.run 1.29 + xmllint $(xmllint-opts) $< 1.30 + touch $@ 1.31 +