hgbook

changeset 632:c88aa4edf9df

Follow up 586:0e3d8f66bbb7 and 587:bae6d1503482, adjust Makefile and .hgignore
author Dongsheng Song <dongsheng.song@gmail.com>
date Thu Mar 12 21:48:08 2009 +0800 (2009-03-12)
parents f7d674e6e736
children 74da9b315396
files .hgignore en/Makefile
line diff
     1.1 --- a/.hgignore	Thu Mar 12 17:43:30 2009 +0800
     1.2 +++ b/.hgignore	Thu Mar 12 21:48:08 2009 +0800
     1.3 @@ -1,5 +1,6 @@
     1.4 -^htdocs/
     1.5 -^tools/fop/
     1.6 +[^/]+/build/
     1.7 +[^/]+/fop/
     1.8 +[^/]+/html/
     1.9  
    1.10  syntax: glob
    1.11  
    1.12 @@ -18,4 +19,4 @@
    1.13  .validated-00book.xml
    1.14  web/hgbook/.database.sqlite3
    1.15  web/hgbook/secrets.py
    1.16 -xsl/system-xsl
    1.17 +stylesheets/system-xsl
     2.1 --- a/en/Makefile	Thu Mar 12 17:43:30 2009 +0800
     2.2 +++ b/en/Makefile	Thu Mar 12 21:48:08 2009 +0800
     2.3 @@ -126,21 +126,21 @@
     2.4  
     2.5  all: web
     2.6  
     2.7 -../xsl/system-xsl: $(system-xsl-dir)
     2.8 +../stylesheets/system-xsl: $(system-xsl-dir)
     2.9  	ln -s $< $@
    2.10  
    2.11  web: websup html
    2.12  
    2.13 -html: ../xsl/system-xsl $(xml-src-files) valid
    2.14 -	xsltproc $(xsltproc-opts) -o html/read/x ../xsl/chunk-stylesheet.xsl 00book.xml
    2.15 +html: ../stylesheets/system-xsl $(xml-src-files) valid
    2.16 +	xsltproc $(xsltproc-opts) -o html/read/x ../stylesheets/chunk-stylesheet.xsl 00book.xml
    2.17  	for i in html/read/*.html; do \
    2.18  	  gzip -9 -c $$i > $$i.gz; \
    2.19  	done
    2.20  
    2.21  websup: $(extras-web)
    2.22 -	mkdir -p $(obj-websup)/figs
    2.23 -	cp ../xsl/system-xsl/images/*.png $(obj-websup)/figs
    2.24 -	cp -f ../web/icons/*.png $(obj-websup)/figs
    2.25 +	mkdir -p $(obj-websup)/images
    2.26 +	cp ../stylesheets/system-xsl/images/*.png $(obj-websup)/images
    2.27 +	cp -f ../web/icons/*.png $(obj-websup)/images
    2.28  
    2.29  web: websup
    2.30