From a57f5c34dc5787546020b4a924ebed6ed70e1f09 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 12 Dec 2013 18:37:55 +0100 Subject: simplify after git switch as a side node, it's faster & more like other Makefiles --- Makefile | 11 ++--------- 1 file 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 -- cgit v1.2.1