OpenJDK / jdk / jdk12
changeset 26128:91be51647a45
8056062: Additional minor cleanups from source restructure build changes
Reviewed-by: alanb, tbell
author | erikj |
---|---|
date | Wed, 27 Aug 2014 11:12:15 +0200 |
parents | 5ca6c50438a8 |
children | 5ca768410aba |
files | Makefile make/Main.gmk |
diffstat | 2 files changed, 14 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Aug 27 10:59:59 2014 +0200 +++ b/Makefile Wed Aug 27 11:12:15 2014 +0200 @@ -136,10 +136,12 @@ $(info . make docs # Create all docs) $(info . make docs-javadoc # Create just javadocs, depends on less than full docs) $(info . make profiles # Create complete j2re compact profile images) - $(info . make bootcycle-images # Build images twice, second time with newly build JDK) + $(info . make bootcycle-images # Build images twice, second time with newly built JDK) $(info . make install # Install the generated images locally) $(info . make clean # Remove all files generated by make, but not those) - $(info . # generated by configure) + $(info . # generated by configure. Do not run clean and other) + $(info . # targets together as that might behave in an) + $(info . # unexpected way.) $(info . make dist-clean # Remove all files, including configuration) $(info . make help # Give some help on using make) $(info . make test # Run tests, default is all tests (see TEST below))
--- a/make/Main.gmk Wed Aug 27 10:59:59 2014 +0200 +++ b/make/Main.gmk Wed Aug 27 11:12:15 2014 +0200 @@ -461,6 +461,9 @@ $(GENDATA_MODULES) $(LIB_MODULES) $(LAUNCHER_MODULES) $(COPY_MODULES)) exploded-image: $(ALL_MODULE_TARGETS) modules-xml +# The old 'jdk' target most closely matches the new exploded-image. Keep an +# alias for ease of use. +jdk: exploded-image jars: main-jars nashorn-jar security-jars policy-jars @@ -472,7 +475,7 @@ docs: docs-javadoc docs-jvmtidoc ALL_TARGETS += gensrc gendata copy java rmic libs launchers \ - $(ALL_MODULE_TARGETS) exploded-image jars \ + $(ALL_MODULE_TARGETS) exploded-image jdk jars \ $(ALL_PROFILES) profiles docs ################################################################################ @@ -492,6 +495,12 @@ # If running a clean target, disable parallel execution ifneq ($(findstring clean, $(MAKECMDGOALS)), ) .NOTPARALLEL: + # It's not recommended to run additional targets to clean on the same make + # command line. Try to detect this and issue a warning. + ifneq ($(filter-out clean%, $(MAKECMDGOALS)), ) + $(warning Mixing clean targets with normal build targets will not work well \ + and is not recommended.) + endif endif CLEAN_COMPONENTS += langtools corba hotspot jdk nashorn images \