aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-12 18:37:55 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-12 18:37:55 +0100
commita57f5c34dc5787546020b4a924ebed6ed70e1f09 (patch)
treee892b23015d2b3e93fe9c5fa6719bb71df9dc9af
parent2d2689d54c639fb8e6d4527715d5620151ee75be (diff)
downloaddrakx-installer-help-a57f5c34dc5787546020b4a924ebed6ed70e1f09.tar
drakx-installer-help-a57f5c34dc5787546020b4a924ebed6ed70e1f09.tar.gz
drakx-installer-help-a57f5c34dc5787546020b4a924ebed6ed70e1f09.tar.bz2
drakx-installer-help-a57f5c34dc5787546020b4a924ebed6ed70e1f09.tar.xz
drakx-installer-help-a57f5c34dc5787546020b4a924ebed6ed70e1f09.zip
simplify after git switch
as a side node, it's faster & more like other Makefiles
-rw-r--r--Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 83999ff..3856d8f 100644
--- a/Makefile
+++ b/Makefile
@@ -50,14 +50,7 @@ clean:
cleandist: clean
rm -fr $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz
-dir:
- mkdir $(PACKAGE)-$(VERSION)
-
-localcopy:
- tar c --exclude=.git $(FILES) | tar x -C $(PACKAGE)-$(VERSION)
-
tar:
- tar cvYf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
- rm -fr $(PACKAGE)-$(VERSION)
+ @git archive --prefix=$(PACKAGE)-$(VERSION)/ HEAD | xz > $(PACKAGE)-$(VERSION).tar.xz;
-dist: cleandist dir localcopy tar
+dist: cleandist tar