From 4d6a5c4c82fcd4f03d9d8f55298075047839b627 Mon Sep 17 00:00:00 2001 From: Seblu <sebastien.luttringer@smartjog.com> Date: Tue, 5 Jul 2011 18:07:58 +0200 Subject: [PATCH] fix tar multiple regeneration --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1a71f2b..a5977c4 100644 --- a/Makefile +++ b/Makefile @@ -9,9 +9,11 @@ BUILD_DIR=__build__ all: echo all is better than nothing -tar: +$(NAME)-$(VERSION).tar.gz: git archive --prefix=$(NAME)-$(VERSION)/ HEAD | gzip -9 > $(NAME)-$(VERSION).tar.gz +tar: $(NAME)-$(VERSION).tar.gz + dsc: cleanbuild tar mkdir $(BUILD_DIR) tar xfC $(NAME)-$(VERSION).tar.gz $(BUILD_DIR) -- GitLab