# HG changeset patch # User Bryan O'Sullivan # Date 1237527902 25200 # Node ID 188efaefe001649960eda01a2852920c3cb23a57 # Parent 34cb220eb717c0e44629d2ee81020650cc500bfd How to make all-ids.dat. diff -r 34cb220eb717 -r 188efaefe001 en/Makefile --- 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 diff -r 34cb220eb717 -r 188efaefe001 web/hgbook/load_elements.py --- 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()