Skip to content

Commit 955fc2f

Browse files
committed
8309746: Reconfigure check should include make/conf/version-numbers.conf
Reviewed-by: mikael
1 parent 554b4d7 commit 955fc2f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

make/Init.gmk

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -138,7 +138,10 @@ ifeq ($(HAS_SPEC),)
138138
# The spec files depend on the autoconf source code. This check makes sure
139139
# the configuration is up to date after changes to configure.
140140
$(SPECS): $(wildcard $(topdir)/make/autoconf/*) \
141-
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*))
141+
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*)) \
142+
$(addprefix $(topdir)/make/conf/, version-numbers.conf branding.conf) \
143+
$(if $(CUSTOM_CONF_DIR), $(wildcard $(addprefix $(CUSTOM_CONF_DIR)/, \
144+
version-numbers.conf branding.conf)))
142145
ifeq ($(CONF_CHECK), fail)
143146
@echo Error: The configuration is not up to date for \
144147
"'$(lastword $(subst /, , $(dir $@)))'."

0 commit comments

Comments
 (0)