update debian packages list
[irspy-moved-to-github.git] / zebra / Makefile
index 2e6908c..9a06425 100644 (file)
@@ -1,4 +1,8 @@
-# $Id: Makefile,v 1.3 2006-06-20 11:06:02 mike Exp $
+
+IRSPY_ARCHIVE= records-2007-05-01.tar.gz
+
+all: help
+
 
 test:
        xmllint --noout --schema zeerex-2.0.xsd zeerex.xml
@@ -6,6 +10,16 @@ test:
 terse.properties: pqf.properties
        sed -n 's/#.*//; s/[    ]*//; s/[       ][      ]*/ /g; /./p' $? > $@
 
+newdb:
+       tar xzf ${IRSPY_ARCHIVE}
+       zebraidx-2.0 init
+       zebraidx-2.0 update zeerex.xml
+       zebraidx-2.0 update `basename ${IRSPY_ARCHIVE} .tar.gz`
+       zebraidx-2.0 commit
+
 clean:
        rm -f terse.properties
 
+help:
+       @echo "make [ test | newdb | clean ]"
+