From 9836da666ec50f007000b053c1b7de68acac2773 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Tue, 6 Apr 2010 14:47:45 +0000 Subject: [PATCH] add a distclean target --- zebra/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/zebra/Makefile b/zebra/Makefile index 9a06425..09602b3 100644 --- a/zebra/Makefile +++ b/zebra/Makefile @@ -1,5 +1,6 @@ -IRSPY_ARCHIVE= records-2007-05-01.tar.gz +IRSPY_ARCHIVE= records-2007-05-01 +IRSPY_ARCHIVE_EXT= .tar.gz all: help @@ -14,12 +15,15 @@ newdb: tar xzf ${IRSPY_ARCHIVE} zebraidx-2.0 init zebraidx-2.0 update zeerex.xml - zebraidx-2.0 update `basename ${IRSPY_ARCHIVE} .tar.gz` + zebraidx-2.0 update ${IRSPY_ARCHIVE} zebraidx-2.0 commit clean: rm -f terse.properties +distclean: clean + rm -rf ${IRSPY_ARCHIVE} + help: - @echo "make [ test | newdb | clean ]" + @echo "make [ test | newdb | clean | distclean ]" -- 1.7.10.4