9a0642511b3d66fc01473ff53dad717b9e0972e2
[irspy-moved-to-github.git] / zebra / Makefile
1
2 IRSPY_ARCHIVE=  records-2007-05-01.tar.gz
3
4 all: help
5
6
7 test:
8         xmllint --noout --schema zeerex-2.0.xsd zeerex.xml
9
10 terse.properties: pqf.properties
11         sed -n 's/#.*//; s/[    ]*//; s/[       ][      ]*/ /g; /./p' $? > $@
12
13 newdb:
14         tar xzf ${IRSPY_ARCHIVE}
15         zebraidx-2.0 init
16         zebraidx-2.0 update zeerex.xml
17         zebraidx-2.0 update `basename ${IRSPY_ARCHIVE} .tar.gz`
18         zebraidx-2.0 commit
19
20 clean:
21         rm -f terse.properties
22
23 help:
24         @echo "make [ test | newdb | clean ]"
25