projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
create db/lock if not exists
[irspy-moved-to-github.git]
/
zebra
/
Makefile
diff --git
a/zebra/Makefile
b/zebra/Makefile
index
82dc733
..
7651c03
100644
(file)
--- a/
zebra/Makefile
+++ b/
zebra/Makefile
@@
-1,6
+1,8
@@
-IRSPY_ARCHIVE= records-2007-05-01
+IRSPY_ARCHIVE= records-2010-04-06
IRSPY_ARCHIVE_EXT= .tar.gz
IRSPY_ARCHIVE_EXT= .tar.gz
+DUMP_DIR= irspy-dump
+ZEBRA_DIR= db
DATE:= $(shell date '+%Y-%m-%d')
DATE:= $(shell date '+%Y-%m-%d')
@@
-14,7
+16,8
@@
terse.properties: pqf.properties
sed -n 's/#.*//; s/[ ]*//; s/[ ][ ]*/ /g; /./p' $? > $@
newdb:
sed -n 's/#.*//; s/[ ]*//; s/[ ][ ]*/ /g; /./p' $? > $@
newdb:
- tar xzf ${IRSPY_ARCHIVE}
+ tar xzf ${DUMP_DIR}/${IRSPY_ARCHIVE}${IRSPY_ARCHIVE_EXT}
+ mkdir -p ${ZEBRA_DIR}/lock
zebraidx-2.0 init
zebraidx-2.0 update zeerex.xml
zebraidx-2.0 update ${IRSPY_ARCHIVE}
zebraidx-2.0 init
zebraidx-2.0 update zeerex.xml
zebraidx-2.0 update ${IRSPY_ARCHIVE}
@@
-31,8
+34,8
@@
clean:
rm -f terse.properties
distclean: clean
rm -f terse.properties
distclean: clean
- rm -rf ${IRSPY_ARCHIVE}
+ rm -rf ${IRSPY_ARCHIVE} ${ZEBRA_DIR}
help:
help:
- @echo "make [ test | newdb | clean | distclean ]"
+ @echo "make [ dump | test | newdb | clean | distclean ]"