hgbook

diff en/Makefile @ 599:9e8e5292acaa

Generate a nice readable index.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri Mar 27 00:41:15 2009 -0700 (2009-03-27)
parents 7893b3824715
children f107ab150809 1c13ed2130a7
line diff
     1.1 --- a/en/Makefile	Fri Mar 27 00:01:58 2009 -0700
     1.2 +++ b/en/Makefile	Fri Mar 27 00:41:15 2009 -0700
     1.3 @@ -119,8 +119,12 @@
     1.4  
     1.5  html: $(obj-web-read)/index.html
     1.6  
     1.7 -$(obj-web-read)/index.html: ../xsl/system-xsl .validated-00book.xml
     1.8 +../web/index-read.html.in: ../web/genindex.py $(xml-src-files)
     1.9 +	$<
    1.10 +
    1.11 +$(obj-web-read)/index.html: ../xsl/system-xsl .validated-00book.xml ../web/index-read.html.in
    1.12  	xsltproc $(xsltproc-opts) -o $(obj-web-read)/x ../xsl/chunk-stylesheet.xsl 00book.xml
    1.13 +	python ../web/texpand.py ../web/index-read.html.in html/read/index.html
    1.14  	for i in $(obj-web-read)/*.html; do \
    1.15  	  gzip -9 -c $$i > $$i.gz; \
    1.16  	done