source: CMIP6dreqbuild/trunk/src/framework/Makefile @ 360

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
7config: out/dreqSample.xml out/dreqDefn.xml checkSamp
8
9out/dreqSample.xml: ../../docs/dreq.txt ptxt.py
10        python ptxt.py -f dreq.txt samp
11
12out/dreqDefn.xml: ../../docs/dreq.txt ptxt.py
13        python ptxt.py -f dreq.txt defn
14
15checkSamp:
16        xmllint --noout --schema ../../docs/vocabFrameworkSchema.xsd out/dreqDefn.xml
17
18schema: config out/dreqSchema.xsd checkSchema
19
20out/dreqSchema.xsd: ../../docs/xlst_xdsSchemaGen.xml config
21        xsltproc ../../docs/xlst_xdsSchemaGen.xml out/dreqDefn.xml > out/dreqSchema.xsd
22
23checkSchema:
24        xmllint --noout --schema out/dreqSchema.xsd out/dreqSample.xml
Note: See TracBrowser for help on using the repository browser.