hgbook

changeset 588:188efaefe001

How to make all-ids.dat.
author Bryan O'Sullivan <bos@serpentine.com>
date Thu Mar 19 22:45:02 2009 -0700 (2009-03-19)
parents 34cb220eb717
children 4bb10cfa3812 d13c7c706a58
files en/Makefile web/hgbook/load_elements.py
line diff
     1.1 --- a/en/Makefile	Thu Mar 19 22:44:35 2009 -0700
     1.2 +++ b/en/Makefile	Thu Mar 19 22:45:02 2009 -0700
     1.3 @@ -146,6 +146,9 @@
     1.4  	cp ../xsl/system-xsl/images/*.png $(obj-websup)/figs
     1.5  	cp -f ../web/icons/*.png $(obj-websup)/figs
     1.6  
     1.7 +all-ids.dat: ../xsl/all-ids.xsl $(xml-src-files)
     1.8 +	$(xsltproc) $(xsltproc-opts) -o $@ ../xsl/all-ids.xsl 00book.xml
     1.9 +
    1.10  web: websup
    1.11  
    1.12  valid: .validated-00book.xml
     2.1 --- a/web/hgbook/load_elements.py	Thu Mar 19 22:44:35 2009 -0700
     2.2 +++ b/web/hgbook/load_elements.py	Thu Mar 19 22:45:02 2009 -0700
     2.3 @@ -8,7 +8,7 @@
     2.4  sys.path.append(os.path.dirname(__file__))
     2.5  import dbutil
     2.6  
     2.7 -os.system('make -C ../../en ids')
     2.8 +os.system('make -C ../../en all-ids.dat')
     2.9  
    2.10  conn = dbutil.connect()
    2.11  c = conn.cursor()