X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zebra%2FMakefile;h=09602b3cfeb233ec1c5e7cf8b99d767067ee8c6f;hb=9836da666ec50f007000b053c1b7de68acac2773;hp=77e6e684c78b099761cd34fb7252bdb1e7cf077f;hpb=6f73c78bc6d77c685528d9089c15c7b5a914ed93;p=irspy-moved-to-github.git diff --git a/zebra/Makefile b/zebra/Makefile index 77e6e68..09602b3 100644 --- a/zebra/Makefile +++ b/zebra/Makefile @@ -1,4 +1,9 @@ -# $Id: Makefile,v 1.2 2006-06-20 11:02:58 mike Exp $ + +IRSPY_ARCHIVE= records-2007-05-01 +IRSPY_ARCHIVE_EXT= .tar.gz + +all: help + test: xmllint --noout --schema zeerex-2.0.xsd zeerex.xml @@ -6,6 +11,19 @@ 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 ${IRSPY_ARCHIVE} + zebraidx-2.0 commit + clean: - terse.properties + rm -f terse.properties + +distclean: clean + rm -rf ${IRSPY_ARCHIVE} + +help: + @echo "make [ test | newdb | clean | distclean ]"