Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CMIP6dreqbuild/trunk/src/framework/Makefile@360
Revision 360,
623 bytes
checked in by mjuckes, 7 years ago
(diff) |
added makefile for ease of updates
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | |
---|
4 | |
---|
5 | .PHONY: config checkSamp schema checkSchema |
---|
6 | |
---|
7 | config: out/dreqSample.xml out/dreqDefn.xml checkSamp |
---|
8 | |
---|
9 | out/dreqSample.xml: ../../docs/dreq.txt ptxt.py |
---|
10 | python ptxt.py -f dreq.txt samp |
---|
11 | |
---|
12 | out/dreqDefn.xml: ../../docs/dreq.txt ptxt.py |
---|
13 | python ptxt.py -f dreq.txt defn |
---|
14 | |
---|
15 | checkSamp: |
---|
16 | xmllint --noout --schema ../../docs/vocabFrameworkSchema.xsd out/dreqDefn.xml |
---|
17 | |
---|
18 | schema: config out/dreqSchema.xsd checkSchema |
---|
19 | |
---|
20 | out/dreqSchema.xsd: ../../docs/xlst_xdsSchemaGen.xml config |
---|
21 | xsltproc ../../docs/xlst_xdsSchemaGen.xml out/dreqDefn.xml > out/dreqSchema.xsd |
---|
22 | |
---|
23 | checkSchema: |
---|
24 | xmllint --noout --schema out/dreqSchema.xsd out/dreqSample.xml |
---|
Note: See
TracBrowser
for help on using the repository browser.