2 IRSPY_ARCHIVE= records-2010-04-06
3 IRSPY_ARCHIVE_EXT= .tar.gz
6 DATE:= $(shell date '+%Y-%m-%d')
12 xmllint --noout --schema zeerex-2.0.xsd zeerex.xml
14 terse.properties: pqf.properties
15 sed -n 's/#.*//; s/[ ]*//; s/[ ][ ]*/ /g; /./p' $? > $@
18 tar xzf ${DUMP_DIR}/${IRSPY_ARCHIVE}${IRSPY_ARCHIVE_EXT}
20 zebraidx-2.0 update zeerex.xml
21 zebraidx-2.0 update ${IRSPY_ARCHIVE}
25 rm -rf records-${DATE}.old
26 -test -e records-${DATE} && mv records-${DATE} records-${DATE}.old
28 cd records-${DATE} && ../../bin/irspy-dump.pl irspy.indexdata.com:8018/IR-Explain---1
29 tar cfz records-${DATE} records-${DATE}
32 rm -f terse.properties
35 rm -rf ${IRSPY_ARCHIVE}
38 @echo "make [ dump | test | newdb | clean | distclean ]"