Add "newdb" rule.
authorMike Taylor <mike@indexdata.com>
Thu, 13 Sep 2007 12:19:58 +0000 (12:19 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 13 Sep 2007 12:19:58 +0000 (12:19 +0000)
zebra/Makefile

index 2e6908c..481a125 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.3 2006-06-20 11:06:02 mike Exp $
+# $Id: Makefile,v 1.4 2007-09-13 12:19:58 mike Exp $
 
 test:
        xmllint --noout --schema zeerex-2.0.xsd zeerex.xml
@@ -6,6 +6,13 @@ test:
 terse.properties: pqf.properties
        sed -n 's/#.*//; s/[    ]*//; s/[       ][      ]*/ /g; /./p' $? > $@
 
+newdb:
+       tar xzf records-2007-05-01.tar.gz
+       zebraidx-2.0 init
+       zebraidx-2.0 update zeerex.xml
+       zebraidx-2.0 update records-2007-05-01
+       zebraidx-2.0 commit
+
 clean:
        rm -f terse.properties