# HG changeset patch
# User mchung
# Date 1410809012 25200
# Node ID f8b190ea8955502747157e6077fc091a6d878650
# Parent  2ea705d15f8c431abd5940900d8998381060790b
8058367: Add verify-modules target to the default and images target
Reviewed-by: alanb, erikj, ihse, prr

diff -r 2ea705d15f8c -r f8b190ea8955 make/Main.gmk
--- a/make/Main.gmk	Mon Sep 15 16:30:08 2014 +0200
+++ b/make/Main.gmk	Mon Sep 15 12:23:32 2014 -0700
@@ -298,7 +298,9 @@
 # Verification targets
 
 verify-modules:
+	@$(call TargetEnter)
 	+($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f CheckModules.gmk)
+	@$(call TargetExit)
 
 ALL_TARGETS += verify-modules
 
@@ -400,7 +402,7 @@
     main-jars: java.security.jgss-libs
   endif
 
-  images: jars demos samples exploded-image source-tips
+  images: jars demos samples exploded-image verify-modules source-tips
 
   bootcycle-images: images
 
@@ -476,7 +478,7 @@
 
 ################################################################################
 
-all: images docs verify-modules
+all: images docs
 default: exploded-image
 
 ALL_TARGETS += default all