X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=zebra%2FMakefile;h=710456fd9cf99a8eef7de970cb18cfedb733d570;hp=d34a46b68ba70ae9599239855acf9c6b95ad8d17;hb=63460a3a9c913a4d62d8ee695f31ca6bcec6d25c;hpb=a04eecbe49ab01d1c4a8d3a453a5c203dd5e150f diff --git a/zebra/Makefile b/zebra/Makefile index d34a46b..710456f 100644 --- a/zebra/Makefile +++ b/zebra/Makefile @@ -1,10 +1,11 @@ -IRSPY_ARCHIVE= records-2010-04-14 +IRSPY_ARCHIVE= records-2010-04-20 IRSPY_ARCHIVE_EXT= .tar.gz DUMP_DIR= irspy-dump ZEBRA_DIR= db ZEBRAIDX= zebraidx-2.0 ZEBRAIDX_TEST= zebraidx-2.0 -c zebra-test.cfg +IRSPY_DATABASE= $${IRSpyDbName-"localhost:8018/IR-Explain---1"} # debugging ZEBRA_TEST_DIR= db-test @@ -36,12 +37,12 @@ newdb-test: ${ZEBRAIDX_TEST} update ${IRSPY_ARCHIVE} ${ZEBRAIDX_TEST} commit -# note: the test database use localhost:8019/IR-Explain---2 +# note: the test database use localhost:8019/IR-Explain---1 dump: rm -rf records-${DATE}.old -test -e records-${DATE} && mv records-${DATE} records-${DATE}.old mkdir records-${DATE} - cd records-${DATE} && ../../bin/irspy-dump.pl localhost:8018/IR-Explain---1 + cd records-${DATE} && ../../bin/irspy-dump.pl ${IRSPY_DATABASE} cd records-${DATE} && ( for i in *.xml; do tidy -xml -i -m -w 140 $$i; done ) > /dev/null 2>&1 tar cf - records-${DATE} | gzip > records-${DATE}.tar.gz