[Unicode]   Unicode Localization Interoperability Technical Committee : Bug Tracking Home | Site Map | Search
 

source: trunk/abbrs/src/Makefile @ 38

Revision 38, 999 bytes checked in by srloomis, 10 months ago (diff)

ticket:7368: commit en data from dbPedia lists via IBM TMB verification

Line 
1#
2# To setup:
3#
4#  ( needs python-devel or equivalent, libsxslt-devel or equivalent, and easy_install )
5#
6#  $ easy_install xlrd lxml
7#  $ ln -s <path-to>/cldr.jar .
8#  $ ln -s <path-to-cldr-aux>/json/23.1 ./cldr-json
9#  $ make
10#
11
12-include Makefile.local
13
14all:    spread cook xml
15
16spread:
17        python ./xls2json.py
18
19cook:
20        @if [ ! -f ./cldr-json/main/root/ca-gregorian.json ]; \
21        then \
22                echo "Error: ./cldr-json needs to be a symlink to the latest CLDR JSON data" ; \
23                exit 1 ; \
24        fi
25        python ./cookjson.py
26
27xml:
28        python ./json2cldr.py
29        @if [ ! -f ./cldr.jar ]; \
30        then \
31                echo "Error: ./cldr.jar needs to be a symlink to the latest cldr.jar" ; \
32                exit 1 ; \
33        fi
34        java -classpath ./cldr.jar org.unicode.cldr.util.XMLValidator ../xml/common/segments/*.xml && echo 'XML files OK'
35
36.PHONY: spread cook all
37
38merge:
39        java  -DCLDR_DIR=./cldr -classpath ./cldr.jar:./icu4j.jar:./utilities.jar org.unicode.cldr.tool.CLDRModify -j../xml/common/segments/junk/ -ir -d./cldr-new -s./cldr/common/main/ -asegments
Note: See TracBrowser for help on using the repository browser.