aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-11-17 11:29:06 +0000
committerColin Guthrie <colin@mageia.org>2013-11-17 11:29:06 +0000
commit6e2217327e2ad368fa773cc9d878d9ad5a8d71e2 (patch)
tree98d845fdd360b5f9867b8a971948e864f8d3f953 /Makefile
parentc5d4799bb0bfa2a1a6eab54d9facde61430a4fbd (diff)
downloaduserdrake-6e2217327e2ad368fa773cc9d878d9ad5a8d71e2.tar
userdrake-6e2217327e2ad368fa773cc9d878d9ad5a8d71e2.tar.gz
userdrake-6e2217327e2ad368fa773cc9d878d9ad5a8d71e2.tar.bz2
userdrake-6e2217327e2ad368fa773cc9d878d9ad5a8d71e2.tar.xz
userdrake-6e2217327e2ad368fa773cc9d878d9ad5a8d71e2.zip
build: 'make dist' does not require clean anymore
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a0c9879..581d663 100644
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,7 @@ install: all
for d in $(SUBDIRS); do ( make -C $$d $@ ) ; done
dis: dist
-dist: clean
+dist:
rm -rf ../$(NAME)-$(VERSION).tar*
- rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
@git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz;
$(info $(NAME)-$(VERSION).tar.xz is ready)