163 @$(RM) $@ |
163 @$(RM) $@ |
164 @$(if $(HG),$(call GetSourceTips),$(ECHO) "hg not installed" > $@) |
164 @$(if $(HG),$(call GetSourceTips),$(ECHO) "hg not installed" > $@) |
165 |
165 |
166 |
166 |
167 # Remove everything, except the output from configure. |
167 # Remove everything, except the output from configure. |
168 clean: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-images clean-overlay-images clean-bootcycle-build |
168 clean: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-images clean-overlay-images clean-bootcycle-build clean-docs |
169 @($(CD) $(OUTPUT_ROOT) && $(RM) -r tmp source_tips build.log* build-trace*.log*) |
169 @($(CD) $(OUTPUT_ROOT) && $(RM) -r tmp source_tips build.log* build-trace*.log*) |
170 @$(ECHO) Cleaned all build artifacts. |
170 @$(ECHO) Cleaned all build artifacts. |
171 |
171 |
172 # Remove everything, including configure configuration. |
172 # Remove everything, including configure configuration. |
173 # If the output directory was created by configure and now becomes empty, remove it as well. |
173 # If the output directory was created by configure and now becomes empty, remove it as well. |
199 $(call CleanComponent,images) |
199 $(call CleanComponent,images) |
200 clean-overlay-images: |
200 clean-overlay-images: |
201 $(call CleanComponent,overlay-images) |
201 $(call CleanComponent,overlay-images) |
202 clean-bootcycle-build: |
202 clean-bootcycle-build: |
203 $(call CleanComponent,bootcycle-build) |
203 $(call CleanComponent,bootcycle-build) |
|
204 clean-docs: |
|
205 $(call CleanComponent,docs) |
|
206 $(call CleanComponent,docstemp) |
204 |
207 |
205 .PHONY: langtools corba jaxp jaxws hotspot jdk images overlay-images install |
208 .PHONY: langtools corba jaxp jaxws hotspot jdk images overlay-images install |
206 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only images-only overlay-images-only install-only |
209 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only images-only overlay-images-only install-only |
207 .PHONY: all test clean dist-clean bootcycle-images start-make |
210 .PHONY: all test clean dist-clean bootcycle-images start-make |
208 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-images clean-overlay-images clean-bootcycle-build |
211 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-images clean-overlay-images clean-bootcycle-build |