hgbook
diff Makefile @ 630:ccda4952e5f3
Update Chinese translation
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Thu Mar 12 17:12:18 2009 +0800 (2009-03-12) |
parents | 0e3d8f66bbb7 |
children | 74da9b315396 |
line diff
1.1 --- a/Makefile Thu Mar 12 15:58:38 2009 +0800 1.2 +++ b/Makefile Thu Mar 12 17:12:18 2009 +0800 1.3 @@ -140,12 +140,12 @@ 1.4 else 1.5 html: build/$(LINGUA)/html/index.html 1.6 1.7 -build/$(LINGUA)/html/index.html: build/$(LINGUA)/source/hgbook.xml xsl/html.xsl xsl/$(LINGUA)/html.xsl 1.8 +build/$(LINGUA)/html/index.html: build/$(LINGUA)/source/hgbook.xml stylesheets/html.xsl stylesheets/$(LINGUA)/html.xsl 1.9 mkdir -p build/$(LINGUA)/html/images 1.10 cp en/images/*.png build/$(LINGUA)/html/images 1.11 - cp web/styles.css build/$(LINGUA)/html/hgbook.css 1.12 + cp stylesheets/hgbook.css build/$(LINGUA)/html 1.13 xsltproc --output build/$(LINGUA)/html/ \ 1.14 - xsl/$(LINGUA)/html.xsl build/$(LINGUA)/source/hgbook.xml 1.15 + stylesheets/$(LINGUA)/html.xsl build/$(LINGUA)/source/hgbook.xml 1.16 endif 1.17 1.18 ifndef LINGUA 1.19 @@ -156,12 +156,12 @@ 1.20 else 1.21 html-single: build/$(LINGUA)/html-single/hgbook.html 1.22 1.23 -build/$(LINGUA)/html-single/hgbook.html: build/$(LINGUA)/source/hgbook.xml xsl/html-single.xsl xsl/$(LINGUA)/html-single.xsl 1.24 +build/$(LINGUA)/html-single/hgbook.html: build/$(LINGUA)/source/hgbook.xml stylesheets/html-single.xsl stylesheets/$(LINGUA)/html-single.xsl 1.25 mkdir -p build/$(LINGUA)/html-single/images 1.26 cp en/images/*.png build/$(LINGUA)/html-single/images 1.27 - cp web/styles.css build/$(LINGUA)/html-single/hgbook.css 1.28 + cp stylesheets/hgbook.css build/$(LINGUA)/html-single 1.29 xsltproc --output build/$(LINGUA)/html-single/hgbook.html \ 1.30 - xsl/$(LINGUA)/html-single.xsl build/$(LINGUA)/source/hgbook.xml 1.31 + stylesheets/$(LINGUA)/html-single.xsl build/$(LINGUA)/source/hgbook.xml 1.32 endif 1.33 1.34 ifndef LINGUA 1.35 @@ -172,7 +172,7 @@ 1.36 else 1.37 pdf: build/$(LINGUA)/pdf/hgbook.pdf 1.38 1.39 -build/$(LINGUA)/pdf/hgbook.pdf: build/$(LINGUA)/source/hgbook.xml xsl/fo.xsl xsl/$(LINGUA)/fo.xsl 1.40 +build/$(LINGUA)/pdf/hgbook.pdf: build/$(LINGUA)/source/hgbook.xml stylesheets/fo.xsl stylesheets/$(LINGUA)/fo.xsl 1.41 mkdir -p build/$(LINGUA)/pdf 1.42 java -classpath tools/fop/lib/saxon65.jar:tools/fop/lib/saxon65-dbxsl.jar:tools/fop/lib/xml-commons-resolver-1.2.jar:tools/fop/conf \ 1.43 com.icl.saxon.StyleSheet \ 1.44 @@ -181,7 +181,7 @@ 1.45 -r org.apache.xml.resolver.tools.CatalogResolver \ 1.46 -o build/$(LINGUA)/source/hgbook.fo \ 1.47 build/$(LINGUA)/source/hgbook.xml \ 1.48 - xsl/$(LINGUA)/fo.xsl \ 1.49 + stylesheets/$(LINGUA)/fo.xsl \ 1.50 fop1.extensions=1 1.51 1.52 (cd build/$(LINGUA)/source && ../../../tools/fop/fop.sh hgbook.fo ../pdf/hgbook.pdf)