From aff30833c123ca71e52cd87aca4d10827d27d639 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Sun, 19 Oct 2014 14:31:21 +0300 Subject: [PATCH] Improve clean target, less dist targets --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 11a53ac6..d956bdc1 100644 --- a/Makefile +++ b/Makefile @@ -247,6 +247,7 @@ clean: @rm -rf site/ @rm -f duk.raw dukd.raw duk.vg dukd.vg duk dukd @rm -f libduktape*.so* + @rm -f duktape-*.tar.* @rm -f doc/*.html @rm -f src/*.pyc @rm -rf massif.out.* ms_print.tmp.* @@ -772,16 +773,11 @@ dist-src: dist mkdir duktape-$(DUK_VERSION_FORMATTED) cp -r dist/* duktape-$(DUK_VERSION_FORMATTED)/ tar cvfz duktape-$(DUK_VERSION_FORMATTED).tar.gz duktape-$(DUK_VERSION_FORMATTED)/ - tar cvfj duktape-$(DUK_VERSION_FORMATTED).tar.bz2 duktape-$(DUK_VERSION_FORMATTED)/ tar cvf duktape-$(DUK_VERSION_FORMATTED).tar duktape-$(DUK_VERSION_FORMATTED)/ xz -z -e -9 duktape-$(DUK_VERSION_FORMATTED).tar - zip -r duktape-$(DUK_VERSION_FORMATTED).zip duktape-$(DUK_VERSION_FORMATTED)/ - mkisofs -input-charset utf-8 -o duktape-$(DUK_VERSION_FORMATTED).iso duktape-$(DUK_VERSION_FORMATTED).tar.bz2 cp duktape-$(DUK_VERSION_FORMATTED).tar.gz duktape-$(DUK_VERSION_FORMATTED)-$(BUILD_DATETIME)-$(GIT_DESCRIBE).tar.gz - cp duktape-$(DUK_VERSION_FORMATTED).tar.bz2 duktape-$(DUK_VERSION_FORMATTED)-$(BUILD_DATETIME)-$(GIT_DESCRIBE).tar.bz2 cp duktape-$(DUK_VERSION_FORMATTED).tar.xz duktape-$(DUK_VERSION_FORMATTED)-$(BUILD_DATETIME)-$(GIT_DESCRIBE).tar.xz - cp duktape-$(DUK_VERSION_FORMATTED).zip duktape-$(DUK_VERSION_FORMATTED)-$(BUILD_DATETIME)-$(GIT_DESCRIBE).zip - cp duktape-$(DUK_VERSION_FORMATTED).iso duktape-$(DUK_VERSION_FORMATTED)-$(BUILD_DATETIME)-$(GIT_DESCRIBE).iso + rm -rf duktape-$(DUK_VERSION_FORMATTED) .PHONY: tidy-site tidy-site: @@ -810,6 +806,7 @@ dist-site: tidy-site site tar cvf duktape-site-$(DUK_VERSION_FORMATTED).tar duktape-site-$(DUK_VERSION_FORMATTED)/ xz -z -e -9 duktape-site-$(DUK_VERSION_FORMATTED).tar cp duktape-site-$(DUK_VERSION_FORMATTED).tar.xz duktape-site-$(DUK_VERSION_FORMATTED)-$(BUILD_DATETIME)-$(GIT_DESCRIBE).tar.xz + rm -rf duktape-site-$(DUK_VERSION_FORMATTED) .PHONY: codepolicycheck codepolicycheck: