summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2002-12-02 09:45:41 +0000
committerYves Duret <yduret@mandriva.com>2002-12-02 09:45:41 +0000
commita59e90f2e27bff8592c68077227bad8cb9569bff (patch)
treea9b0df6c6619a2ee5fedf261f0f111ed8517f0bf
parent7d4de082dce7d6931cf567d4cef24f9387f7580a (diff)
downloadrootfiles-a59e90f2e27bff8592c68077227bad8cb9569bff.tar
rootfiles-a59e90f2e27bff8592c68077227bad8cb9569bff.tar.gz
rootfiles-a59e90f2e27bff8592c68077227bad8cb9569bff.tar.bz2
rootfiles-a59e90f2e27bff8592c68077227bad8cb9569bff.tar.xz
rootfiles-a59e90f2e27bff8592c68077227bad8cb9569bff.zip
- added clean rule
- enhance toto rule by adding @ before command to only show what we want
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 57151c9..e753444 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ install:
install -d -m700 $(RPM_BUILD_ROOT)/root/tmp
install -d $(RPM_BUILD_ROOT)/root/.netscape/{cache,archive}
-dis:
+dis: clean
cvs commit
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
mkdir -p $(NAME)-$(VERSION)
@@ -28,6 +28,9 @@ rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
-rpm -ba --clean --rmsource $(NAME).spec
rm -f ../$(NAME)-$(VERSION).tar.bz2
+clean:
+ rm -f *~
+
toto:
- echo $(NAME)
- echo $(VERSION)
+ @echo $(NAME)
+ @echo $(VERSION)