File 3082-otp-Remove-dialyzer-from-makefile-apps.patch of Package erlang
From 3ee855772ae7b24336038d34d95fa8169f886a5a Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Tue, 4 Jan 2022 13:20:42 +0100
Subject: [PATCH 02/11] otp: Remove dialyzer from makefile apps
---
Makefile.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 15521ce237..5b666a4fd8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -509,10 +509,11 @@ endif
endif
APPS=$(patsubst $(ERL_TOP)/lib/%/doc,%,$(wildcard $(ERL_TOP)/lib/*/doc))
+NO_DIALYZER_APPS=$(filter-out dialyzer, $(APPS)) ## The dialyzer make target should not build the app
-.PHONY: $(APPS)
+.PHONY: $(NO_DIALYZER_APPS)
-$(APPS):
+$(NO_DIALYZER_APPS):
$(make_verbose)cd lib/$@ && \
ERL_TOP=$(ERL_TOP) PATH=$(BOOT_PREFIX)"$${PATH}" \
$(MAKE) $(TYPE) BUILD_ALL=true
--
2.31.1