hgbook

view 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 source
1 include Makefile.vars
3 xml-src-files := \
4 00book.xml \
5 #app*.xml \
6 ch*.xml
8 obj-web := html
10 html: ${obj-web}/index.html
12 #$(obj-web)/index.html: ../stylesheets/system-xsl .validated-00book.xml #../web/index-read.html.in
13 $(obj-web)/index.html: .validated-00book.xml
14 xsltproc $(xsltproc-opts) -o $(obj-web)/x ../stylesheets/chunk-stylesheet.xsl 00book.xml
15 # python ../web/texpand.py ../web/index-read.html.in html/read/index.html
16 # for i in $(obj-web-read)/*.html; do \
17 # gzip -9 -c $$i > $$i.gz; \
18 # done
20 #../stylesheets/system-xsl: $(system-xsl-dir)
21 # ln -s $< $@
23 valid: .validated-00book.xml
25 .validated-00book.xml: $(xml-src-files) #examples/.run
26 xmllint $(xmllint-opts) $<
27 touch $@