changeset 687:188efaefe001

How to make all-ids.dat.
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 19 Mar 2009 22:45:02 -0700
parents 34cb220eb717
children 4bb10cfa3812 d13c7c706a58
files en/Makefile web/hgbook/load_elements.py
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/en/Makefile	Thu Mar 19 22:44:35 2009 -0700
+++ b/en/Makefile	Thu Mar 19 22:45:02 2009 -0700
@@ -146,6 +146,9 @@
 	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
 
 valid: .validated-00book.xml
--- a/web/hgbook/load_elements.py	Thu Mar 19 22:44:35 2009 -0700
+++ b/web/hgbook/load_elements.py	Thu Mar 19 22:45:02 2009 -0700
@@ -8,7 +8,7 @@
 sys.path.append(os.path.dirname(__file__))
 import dbutil
 
-os.system('make -C ../../en ids')
+os.system('make -C ../../en all-ids.dat')
 
 conn = dbutil.connect()
 c = conn.cursor()