X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zebra%2FMakefile;h=61b34e829c608e8f051eb36dc532d5a3e15c9ef1;hb=c0f88510e668227c3f7445c7dd654d725a5f6886;hp=2b1aef562cb9f992c38867337b09373538976636;hpb=1eb849216da0f769621b93f40f104b71d681ab0e;p=irspy-moved-to-github.git diff --git a/zebra/Makefile b/zebra/Makefile index 2b1aef5..61b34e8 100644 --- a/zebra/Makefile +++ b/zebra/Makefile @@ -1,6 +1,8 @@ -IRSPY_ARCHIVE= records-2007-05-01 +IRSPY_ARCHIVE= records-2010-04-06 IRSPY_ARCHIVE_EXT= .tar.gz +DUMP_DIR= irspy-dump +ZEBRA_DIR= db DATE:= $(shell date '+%Y-%m-%d') @@ -14,7 +16,7 @@ terse.properties: pqf.properties sed -n 's/#.*//; s/[ ]*//; s/[ ][ ]*/ /g; /./p' $? > $@ newdb: - tar xzf ${IRSPY_ARCHIVE} + tar xzf ${DUMP_DIR}/${IRSPY_ARCHIVE}${IRSPY_ARCHIVE_EXT} zebraidx-2.0 init zebraidx-2.0 update zeerex.xml zebraidx-2.0 update ${IRSPY_ARCHIVE} @@ -31,7 +33,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 ]"