diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-12 18:37:55 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-12 18:37:55 +0100 |
commit | a57f5c34dc5787546020b4a924ebed6ed70e1f09 (patch) | |
tree | e892b23015d2b3e93fe9c5fa6719bb71df9dc9af | |
parent | 2d2689d54c639fb8e6d4527715d5620151ee75be (diff) | |
download | drakx-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-- | Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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 |