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