--- a/make/Main.gmk Fri Feb 08 10:42:05 2019 +0100
+++ b/make/Main.gmk Fri Feb 08 13:13:51 2019 +0100
@@ -1118,7 +1118,8 @@
# file.
CLEAN_DIRS += hotspot jdk bootcycle-build test buildtools support \
- images make-support test-make bundles buildjdk test-results test-support
+ images make-support test-make bundles buildjdk test-results test-support \
+ support/images
CLEAN_DIR_TARGETS := $(addprefix clean-, $(CLEAN_DIRS))
CLEAN_SUPPORT_DIRS += demos
CLEAN_SUPPORT_DIR_TARGETS := $(addprefix clean-, $(CLEAN_SUPPORT_DIRS))
@@ -1165,6 +1166,9 @@
clean-test: clean-test-results clean-test-support
+# When cleaning images, also clean the support/images directory.
+clean-images: clean-support/images
+
# Remove everything, including configure configuration. If the output
# directory was created by configure and now becomes empty, remove it as well.
dist-clean: clean