comparison en/Makefile @ 711:f107ab150809

Generate a standalone XML file.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 31 Mar 2009 12:25:03 -0700
parents 9e8e5292acaa
children c8680784cdbb
comparison
equal deleted inserted replaced
710:47fbf3765997 711:f107ab150809
108 hg-id = $(shell hg parents --template '{node|short}, dated {date|isodate},\n') 108 hg-id = $(shell hg parents --template '{node|short}, dated {date|isodate},\n')
109 109
110 hg-version = $(shell hg version -q | \ 110 hg-version = $(shell hg version -q | \
111 sed 's,.*(version \(unknown\|[a-f0-9+]*\)),\1,') 111 sed 's,.*(version \(unknown\|[a-f0-9+]*\)),\1,')
112 112
113 all: web 113 all: web complete.xml
114 114
115 ../xsl/system-xsl: $(system-xsl-dir) 115 ../xsl/system-xsl: $(system-xsl-dir)
116 ln -s $< $@ 116 ln -s $< $@
117 117
118 web: ../xsl/system-xsl websup html 118 web: ../xsl/system-xsl websup html
132 websup: $(extras-web) $(image-web) 132 websup: $(extras-web) $(image-web)
133 mkdir -p $(obj-websup)/figs $(obj-web-read)/figs 133 mkdir -p $(obj-websup)/figs $(obj-web-read)/figs
134 cp ../xsl/system-xsl/images/*.png $(obj-websup)/figs 134 cp ../xsl/system-xsl/images/*.png $(obj-websup)/figs
135 cp -f ../web/icons/*.png $(obj-websup)/figs 135 cp -f ../web/icons/*.png $(obj-websup)/figs
136 136
137 complete.xml: .validated-00book.xml
138 $(xsltproc) $(xsltproc-opts) -o $@ ../xsl/dtd-profile.xsl 00book.xml
139
137 all-ids.dat: ../xsl/all-ids.xsl $(xml-src-files) 140 all-ids.dat: ../xsl/all-ids.xsl $(xml-src-files)
138 $(xsltproc) $(xsltproc-opts) -o $@ ../xsl/all-ids.xsl 00book.xml 141 $(xsltproc) $(xsltproc-opts) -o $@ ../xsl/all-ids.xsl 00book.xml
139 142
140 web: websup 143 web: websup
141 144