summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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)