X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=zebra%2FMakefile;h=9a0642511b3d66fc01473ff53dad717b9e0972e2;hp=481a12584bc28ebf48b0ef109fa334854af72c3b;hb=50457615c21a8eeb561bd655482a217aaec1bc63;hpb=03d16c0b00bb55023f86255219fc2b1469352359 diff --git a/zebra/Makefile b/zebra/Makefile index 481a125..9a06425 100644 --- a/zebra/Makefile +++ b/zebra/Makefile @@ -1,4 +1,8 @@ -# $Id: Makefile,v 1.4 2007-09-13 12:19:58 mike Exp $ + +IRSPY_ARCHIVE= records-2007-05-01.tar.gz + +all: help + test: xmllint --noout --schema zeerex-2.0.xsd zeerex.xml @@ -7,12 +11,15 @@ terse.properties: pqf.properties sed -n 's/#.*//; s/[ ]*//; s/[ ][ ]*/ /g; /./p' $? > $@ newdb: - tar xzf records-2007-05-01.tar.gz + tar xzf ${IRSPY_ARCHIVE} zebraidx-2.0 init zebraidx-2.0 update zeerex.xml - zebraidx-2.0 update records-2007-05-01 + zebraidx-2.0 update `basename ${IRSPY_ARCHIVE} .tar.gz` zebraidx-2.0 commit clean: rm -f terse.properties +help: + @echo "make [ test | newdb | clean ]" +