File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
# ===========================================================================
2
- # (c) Copyright IBM Corp. 2017 All Rights Reserved
2
+ # (c) Copyright IBM Corp. 2017, 2018 All Rights Reserved
3
3
# ===========================================================================
4
4
#
5
5
# This code is free software; you can redistribute it and/or modify it
@@ -28,10 +28,11 @@ TOP_SRC_DIRS += \
28
28
#
29
29
30
30
# Shortly after this makefile fragment is included, Modules.gmk computes the
31
- # list of modules. Unless a goal is to 'clean' something, we need to force
32
- # generation of J9JCL java code now, otherwise that list may be incomplete.
33
- #
34
- ifeq (,$(findstring clean,$(MAKECMDGOALS)))
31
+ # list of modules. Unless a goal is for 'help' or to 'clean' something, we
32
+ # need to force generation of J9JCL java code now, otherwise that list may
33
+ # be incomplete.
34
+
35
+ ifeq (,$(filter clean% dist-clean help,$(MAKECMDGOALS)))
35
36
BUILD_OPENJ9_TOOLS := $(shell ($(CD) $(SRC_ROOT)/closed && $(MAKE) -f OpenJ9.gmk SPEC=$(SPEC) BOOT_JDK=$(BOOT_JDK) build-openj9-tools))
36
37
GENERATE_J9JCL_SOURCES := $(shell ($(CD) $(SRC_ROOT)/closed && $(MAKE) -f OpenJ9.gmk SPEC=$(SPEC) generate-j9jcl-sources))
37
38
endif
You can’t perform that action at this time.
0 commit comments