From d5fc20c6733e4decfb97fc68885419df35e6d0f4 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 1 Nov 2015 16:12:13 +0000 Subject: [PATCH] Create dist folder when building src release. --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 57d167f..fd58ee6 100644 --- a/makefile +++ b/makefile @@ -53,7 +53,9 @@ dist: mkdir $(PROG)-$(VERSION) cp -r $(DIST_FILES) $(PROG)-$(VERSION) git log --oneline master..v$(VERSION) >$(PROG)-$(VERSION)/CHANGELOG - tar czf $(PROG)-$(VERSION).tar.gz $(PROG)-$(VERSION) + tar czf $(PROG)-$(VERSION)-src.tar.gz $(PROG)-$(VERSION) + mkdir dist + mv $(PROG)-$(VERSION)-src.tar.gz dist $(RM) -rf $(PROG)-$(VERSION) # cleaning everything that can be automatically recreated with "make".