From a59e90f2e27bff8592c68077227bad8cb9569bff Mon Sep 17 00:00:00 2001 From: Yves Duret Date: Mon, 2 Dec 2002 09:45:41 +0000 Subject: - added clean rule - enhance toto rule by adding @ before command to only show what we want --- Makefile | 9 ++++++--- 1 file 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) -- cgit v1.2.1