From 1f7d32fe1763d1d22ba3464d2251775101fa4833 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Mon, 12 Apr 2010 12:43:12 +0000 Subject: [PATCH] use make variables --- zebra/Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/zebra/Makefile b/zebra/Makefile index 86154e2..0e24ddd 100644 --- a/zebra/Makefile +++ b/zebra/Makefile @@ -3,6 +3,8 @@ IRSPY_ARCHIVE= records-2010-04-06 IRSPY_ARCHIVE_EXT= .tar.gz DUMP_DIR= irspy-dump ZEBRA_DIR= db +ZEBRAIDX= zebraidx-2.0 +ZEBRAIDX_TEST= zebraidx-2.0 -c zebra-test.cfg # debugging ZEBRA_TEST_DIR= db-test @@ -21,18 +23,18 @@ terse.properties: pqf.properties newdb: tar xzf ${DUMP_DIR}/${IRSPY_ARCHIVE}${IRSPY_ARCHIVE_EXT} mkdir -p ${ZEBRA_DIR}/lock ${ZEBRA_DIR}/register ${ZEBRA_DIR}/shadow ${ZEBRA_DIR}/tmp - zebraidx-2.0 init - zebraidx-2.0 update zeerex.xml - zebraidx-2.0 update ${IRSPY_ARCHIVE} - zebraidx-2.0 commit + ${ZEBRAIDX} init + ${ZEBRAIDX} update zeerex.xml + ${ZEBRAIDX} update ${IRSPY_ARCHIVE} + ${ZEBRAIDX} commit newdb-test: tar xzf ${DUMP_DIR}/${IRSPY_ARCHIVE}${IRSPY_ARCHIVE_EXT} mkdir -p ${ZEBRA_TEST_DIR}/lock ${ZEBRA_TEST_DIR}/register ${ZEBRA_TEST_DIR}/shadow ${ZEBRA_TEST_DIR}/tmp - zebraidx-2.0 -c zebra-test.cfg init - zebraidx-2.0 -c zebra-test.cfg update zeerex-test.xml - zebraidx-2.0 -c zebra-test.cfg update ${IRSPY_ARCHIVE} - zebraidx-2.0 -c zebra-test.cfg commit + ${ZEBRAIDX_TEST} init + ${ZEBRAIDX_TEST} update zeerex-test.xml + ${ZEBRAIDX_TEST} update ${IRSPY_ARCHIVE} + ${ZEBRAIDX_TEST} commit dump: rm -rf records-${DATE}.old -- 1.7.10.4