add option for maximum number of nested template calls and variables/params
[irspy-moved-to-github.git] / zebra / Makefile
index f5cc0fe..be9f20e 100644 (file)
@@ -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 ${ZEBRA_DIR}/register ${ZEBRA_DIR}/shadow ${ZEBRA_DIR}/tmp
        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 ]"