Skip to content

Commit f9f74f5

Browse files
committed
Merge branch 'frazze/make/fix_make_variable_name_shadowing'
* frazze/make/fix_make_variable_name_shadowing: make: ERL_FILES variable introduced in doc.mk shadows older use of it OTP-19787
2 parents 574644c + 5974e74 commit f9f74f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

make/doc.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ endif
5050
# ----------------------------------------------------
5151
# Man dependencies
5252
# ----------------------------------------------------
53-
ERL_FILES := $(wildcard $(APP_SRC_DIR)/*.erl) $(wildcard $(APP_SRC_DIR)/*/*.erl) $(wildcard $(APP_DIR)/preloaded/src/*.erl)
54-
ERL_STRIP := $(strip $(ERL_FILES))
53+
ERL_FILES0 := $(wildcard $(APP_SRC_DIR)/*.erl) $(wildcard $(APP_SRC_DIR)/*/*.erl) $(wildcard $(APP_DIR)/preloaded/src/*.erl)
54+
ERL_STRIP := $(strip $(ERL_FILES0))
5555
ifneq ($(ERL_STRIP),)
56-
ERL_FILES_WITH_DOC := $(shell grep -L "moduledoc false." $(ERL_FILES))
56+
ERL_FILES_WITH_DOC := $(shell grep -L "moduledoc false." $(ERL_FILES0))
5757
else
5858
ERL_FILES_WITH_DOC :=
5959
endif

0 commit comments

Comments
 (0)