diff options
author | Andrew McDermott <andrew.mcdermott@linaro.org> | 2013-12-16 13:17:07 +0000 |
---|---|---|
committer | Andrew McDermott <andrew.mcdermott@linaro.org> | 2013-12-16 13:17:07 +0000 |
commit | 4e0b1fb6ef18472b50a2f56ef383265c347c9c2c (patch) | |
tree | b38bf1e64d35745af895daac970323c7c09e5b52 /Makefile | |
parent | 081de1bab07ebee9a679e32dc558b9b7e2e49440 (diff) |
Makefile: add core tarball to print-ids
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -45,14 +45,13 @@ ALL_DOWNLOADS := $(JDK8_CORE_TARBALL) $(JDK8_COMPONENT_TARBALLS) .PHONY: all print-commit-ids -all: out/$(TARBALL) +all: print-commit-ids out/$(TARBALL) -print-commit-ids: - ./print-commit-ids $(JDK8_COMPONENT_TARBALLS) +print-commit-ids: $(JDK8_CORE_TARBALL) $(JDK8_COMPONENT_TARBALLS) + ./print-commit-ids $(JDK8_CORE_TARBALL) $(JDK8_COMPONENT_TARBALLS) out/$(TARBALL): $(ALL_DOWNLOADS) | out $(RM) -r $@ $(JDK8_CORE) - ./print-commit-ids $(JDK8_COMPONENT_TARBALLS) tar -zxf $(JDK8_CORE_TARBALL) --transform='s/^\([^-]\+\)-[0-9a-f]\{12\}/\1/' @(set -e; for i in $(JDK8_COMPONENT_TARBALLS); \ do \ @@ -73,8 +72,13 @@ net/$(PORT)/jdk8.tar.gz: | net/$(PORT) net/$(PORT)/%.tar.gz: | net/$(PORT) wget -O $@ -q $(URL)/$(patsubst %.tar.gz,%,$(notdir $@))/archive/tip.tar.gz +net-clean: + $(RM) -r net/$(PORT) + clean: - $(RM) -r out/$(TARBALL) $(JDK8_CORE) net/$(PORT) + $(RM) -r out/$(TARBALL) $(JDK8_CORE) + +spotless: clean net-clean unpack: $(RM) -r $(SNAPSHOT_NAME) |