Mercurial > hgbook
diff en/Makefile @ 698:9e8e5292acaa
Generate a nice readable index.
| author | Bryan O'Sullivan <bos@serpentine.com> |
|---|---|
| date | Fri, 27 Mar 2009 00:41:15 -0700 |
| parents | 7893b3824715 |
| children | f107ab150809 1c13ed2130a7 |
line wrap: on
line diff
--- a/en/Makefile Fri Mar 27 00:01:58 2009 -0700 +++ b/en/Makefile Fri Mar 27 00:41:15 2009 -0700 @@ -119,8 +119,12 @@ html: $(obj-web-read)/index.html -$(obj-web-read)/index.html: ../xsl/system-xsl .validated-00book.xml +../web/index-read.html.in: ../web/genindex.py $(xml-src-files) + $< + +$(obj-web-read)/index.html: ../xsl/system-xsl .validated-00book.xml ../web/index-read.html.in xsltproc $(xsltproc-opts) -o $(obj-web-read)/x ../xsl/chunk-stylesheet.xsl 00book.xml + python ../web/texpand.py ../web/index-read.html.in html/read/index.html for i in $(obj-web-read)/*.html; do \ gzip -9 -c $$i > $$i.gz; \ done
