summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a5b92cd..eec1f0b 100644
--- a/Makefile
+++ b/Makefile
@@ -17,10 +17,10 @@ cleandist: clean
dir:
mkdir $(PACKAGE)-$(VERSION)
-localcopy:
+localcopy: dir
tar c --exclude=.git $(FILES) | tar x -C $(PACKAGE)-$(VERSION)
-tar:
+tar: localcopy
tar cvYf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
rm -fr $(PACKAGE)-$(VERSION)