summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/environment/createReportContext.sh
blob: dcbf9ea57e31e1ad666e9bf1ab61aa52c4eb7768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# Generate ReportContext.h by invoking createReportContext.xsl, which
# in turns performs a transformation on the specs, fetched from http://www.w3.org/.

target="qreportcontext_p.h"
tmpFile=".reportContextInput.tmp.xml"
echo "<dummy/>" > $tmpFile
p4 revert $target
p4 edit $target
xsltproc createReportContext.xsl $tmpFile > $target
p4 revert -a $target
rm -f $tmpFile