X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zebra%2FMakefile;h=7651c03e0379c99b8d2f63d6c2558e8b7212ca77;hb=431fcb841e5f2b32f468f32baad454546b76f71a;hp=f5cc0fe6df2ddc72f607cd726b404427e78253bc;hpb=d3f8cf960c05f30ad12516a0709319c6ec45edd7;p=irspy-moved-to-github.git diff --git a/zebra/Makefile b/zebra/Makefile index f5cc0fe..7651c03 100644 --- a/zebra/Makefile +++ b/zebra/Makefile @@ -2,6 +2,7 @@ IRSPY_ARCHIVE= records-2010-04-06 IRSPY_ARCHIVE_EXT= .tar.gz DUMP_DIR= irspy-dump +ZEBRA_DIR= db DATE:= $(shell date '+%Y-%m-%d') @@ -16,6 +17,7 @@ terse.properties: pqf.properties newdb: tar xzf ${DUMP_DIR}/${IRSPY_ARCHIVE}${IRSPY_ARCHIVE_EXT} + mkdir -p ${ZEBRA_DIR}/lock zebraidx-2.0 init zebraidx-2.0 update zeerex.xml zebraidx-2.0 update ${IRSPY_ARCHIVE} @@ -32,7 +34,7 @@ clean: rm -f terse.properties distclean: clean - rm -rf ${IRSPY_ARCHIVE} + rm -rf ${IRSPY_ARCHIVE} ${ZEBRA_DIR} help: @echo "make [ dump | test | newdb | clean | distclean ]"