-# $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
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 ]"