hgbook

diff it/Makefile @ 835:ae54f5670834

Link Atom feed for Italian book.
author gpiancastelli
date Tue Aug 18 22:36:35 2009 +0200 (2009-08-18)
parents ea5ae4dd787b
children 793e15b562ef
line diff
     1.1 --- a/it/Makefile	Tue Aug 18 17:19:30 2009 +0200
     1.2 +++ b/it/Makefile	Tue Aug 18 22:36:35 2009 +0200
     1.3 @@ -16,24 +16,24 @@
     1.4  xmllint-opts := --noout --nonet --valid --path '$(dtd-url)'
     1.5      
     1.6  obj-web := html
     1.7 -figs-web := ${obj-web}/figs
     1.8 +figs-web-folder := $(obj-web)/figs
     1.9  script-web := $(obj-web)/javascript
    1.10  web-global := ../web
    1.11  web-local := web
    1.12  
    1.13 -html: ${obj-web}/index.html ${web-local}/index-read.html.in
    1.14 +html: $(obj-web)/index.html $(web-local)/index-read.html.in
    1.15  
    1.16  #$(obj-web)/index.html: ../stylesheets/system-xsl .validated-00book.xml #../web/index-read.html.in
    1.17  $(obj-web)/index.html: .validated-00book.xml
    1.18  	xsltproc $(xsltproc-opts) -o $(obj-web)/x ../stylesheets/it/web.xsl 00book.xml
    1.19  #	xsltproc $(xsltproc-opts) -o $(obj-web)/x ../stylesheets/chunk-stylesheet.xsl 00book.xml
    1.20 -	cp ${web-global}/styles.css ${obj-web}
    1.21 -	mkdir -p ${figs-web}
    1.22 -	cp -f ${web-global}/icons/*.png $(figs-web)
    1.23 -	cp -f examples/figs/*.png $(figs-web)
    1.24 +	cp $(web-global)/styles.css $(obj-web)
    1.25 +	mkdir -p $(figs-web-folder)
    1.26 +	cp -f $(web-global)/icons/*.png $(figs-web-folder)
    1.27 +	cp -f examples/figs/*.png $(figs-web-folder)
    1.28  	mkdir -p $(script-web)
    1.29  	cp -f $(web-local)/*.js $(script-web)
    1.30 -	sed -i -e "s|/support/||g" ${obj-web}/*.html
    1.31 +	sed -i -e "s|/support/||g" $(obj-web)/*.html
    1.32  #	python ../web/texpand.py ../web/index-read.html.in html/read/index.html
    1.33  #	for i in $(obj-web-read)/*.html; do \
    1.34  #	  gzip -9 -c $$i > $$i.gz; \