diff options
-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) |