File 0765-erts-Fix-update-of-Makefile-scripts-to-trigger-rebui.patch of Package erlang
From 9f828add10ba745a2bcc820a4d8532444c46d4c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Mon, 28 Oct 2024 21:07:18 +0100
Subject: [PATCH] erts: Fix update of Makefile scripts to trigger rebuild
---
erts/emulator/Makefile.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in
index 2183ec84dd..86e3f0f650 100644
--- a/erts/emulator/Makefile.in
+++ b/erts/emulator/Makefile.in
@@ -645,7 +645,7 @@ $(TTF_DIR)/erl_alloc_types.h: beam/erl_alloc.types utils/make_alloc_types
GENERATE += $(TTF_DIR)/erl_alloc_types.h
# version include file
-$(TARGET)/erl_version.h: ../vsn.mk $(ERL_TOP)/make/$(TARGET)/otp.mk
+$(TARGET)/erl_version.h: ../vsn.mk $(ERL_TOP)/make/$(TARGET)/otp.mk utils/make_version
$(gen_verbose)LANG=C $(PERL) utils/make_version -o $@ $(SYSTEM_VSN) $(OTP_VERSION) $(VSN)$(SERIALNO) $(TARGET)
GENERATE += $(TARGET)/erl_version.h
@@ -776,13 +776,13 @@ ifeq ($(TARGET),win32)
# On windows the preloaded objects are in a resource object.
PRELOAD_OBJ = $(OBJDIR)/beams.$(RES_EXT)
PRELOAD_SRC = $(TTF_DIR)/beams.rc
-$(PRELOAD_SRC): $(PRELOAD_BEAM)
- $(gen_verbose)LANG=C $(PERL) utils/make_preload $(MAKE_PRELOAD_EXTRA) -rc $^ > $@
+$(PRELOAD_SRC): $(PRELOAD_BEAM) utils/make_preload
+ $(gen_verbose)LANG=C $(PERL) utils/make_preload $(MAKE_PRELOAD_EXTRA) -rc $(PRELOAD_BEAM) > $@
else
PRELOAD_OBJ = $(OBJDIR)/preload.o
PRELOAD_SRC = $(TTF_DIR)/preload.c
-$(PRELOAD_SRC): $(PRELOAD_BEAM)
- $(gen_verbose)LANG=C $(PERL) utils/make_preload -old $^ > $@
+$(PRELOAD_SRC): $(PRELOAD_BEAM) utils/make_preload
+ $(gen_verbose)LANG=C $(PERL) utils/make_preload -old $(PRELOAD_BEAM) > $@
endif
.PHONY : generate
--
2.43.0