build: remove artefacts on distclean
authorJohan Bergström <bugs@bergstroem.nu>
Tue, 13 Jan 2015 03:24:32 +0000 (14:24 +1100)
committerRod Vagg <rod@vagg.org>
Tue, 27 Jan 2015 06:08:35 +0000 (17:08 +1100)
since .pkg-files already lives in out/ they're already gone. instead of
moving artefacts into out/ (which might mess with upload scripts),
delete their current location.

PR-URL: https://github.com/iojs/io.js/pull/323
Reviewed-By: Rod Vagg <rod@vagg.org>
Makefile

index e61164e..55f9282 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,7 @@ distclean:
        -rm -rf node_modules
        -rm -rf deps/icu
        -rm -rf deps/icu4c*.tgz deps/icu4c*.zip deps/icu-tmp
+       -rm -f $(BINARYTAR).* $(TARBALL).*
 
 test: all
        $(PYTHON) tools/test.py --mode=release message parallel sequential -J