aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-08-29 05:38:26 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-08-29 05:38:26 +0000
commite046bb4fca3448b36bc147280a28ac9d391c7dac (patch)
treeed6218b153a288715d47faf1b7daaca549579434 /Makefile
parentddf95a281d321db31bce34c9f319c69ba6075190 (diff)
downloadspec-helper-e046bb4fca3448b36bc147280a28ac9d391c7dac.tar
spec-helper-e046bb4fca3448b36bc147280a28ac9d391c7dac.tar.gz
spec-helper-e046bb4fca3448b36bc147280a28ac9d391c7dac.tar.bz2
spec-helper-e046bb4fca3448b36bc147280a28ac9d391c7dac.tar.xz
spec-helper-e046bb4fca3448b36bc147280a28ac9d391c7dac.zip
added clean target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 69ddc27..817c00c 100644
--- a/Makefile
+++ b/Makefile
@@ -25,13 +25,16 @@ install:
install -d -m 755 $(DESTDIR)/usr/share/spec-helper
install -m 755 $(FILES) $(DESTDIR)/usr/share/spec-helper
+clean:
+ find . -name '*~' | xargs rm -f
+
# rules to build a test rpm
localrpm: localdist buildrpm
localdist: cleandist dir localcopy tar
-cleandist:
+cleandist: clean
rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.bz2
dir: