diff en/Makefile @ 749:7e7c47481e4f

Oops, this is the real merge for my hg's oddity
author Dongsheng Song <dongsheng.song@gmail.com>
date Fri, 20 Mar 2009 16:43:35 +0800
parents d0160b0b1a9e
children 1c13ed2130a7
line wrap: on
line diff
--- a/en/Makefile	Fri Mar 20 15:40:06 2009 +0800
+++ b/en/Makefile	Fri Mar 20 16:43:35 2009 +0800
@@ -130,21 +130,24 @@
 
 all: web
 
-../stylesheets/system-xsl: $(system-xsl-dir)
+../xsl/system-xsl: $(system-xsl-dir)
 	ln -s $< $@
 
 web: ../xsl/system-xsl websup html
 
-html: ../stylesheets/system-xsl $(xml-src-files) valid
-	xsltproc $(xsltproc-opts) -o html/read/x ../stylesheets/chunk-stylesheet.xsl 00book.xml
+html: ../xsl/system-xsl $(xml-src-files) valid
+	xsltproc $(xsltproc-opts) -o html/read/x ../xsl/chunk-stylesheet.xsl 00book.xml
 	for i in html/read/*.html; do \
 	  gzip -9 -c $$i > $$i.gz; \
 	done
 
 websup: $(extras-web)
-	mkdir -p $(obj-websup)/images
-	cp ../stylesheets/system-xsl/images/*.png $(obj-websup)/images
-	cp -f ../web/icons/*.png $(obj-websup)/images
+	mkdir -p $(obj-websup)/figs
+	cp ../xsl/system-xsl/images/*.png $(obj-websup)/figs
+	cp -f ../web/icons/*.png $(obj-websup)/figs
+
+all-ids.dat: ../xsl/all-ids.xsl $(xml-src-files)
+	$(xsltproc) $(xsltproc-opts) -o $@ ../xsl/all-ids.xsl 00book.xml
 
 web: websup