From: Lady Date: Fri, 24 May 2024 02:44:58 +0000 (-0400) Subject: Use exit with a nonzero exit status, not false X-Git-Tag: 0.9.2~4 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/38d3e34c2688e580f84a419c413a6bc64fd2c6a2 Use exit with a nonzero exit status, not false --- diff --git a/GNUmakefile b/GNUmakefile index 89a7cf9..2e815ca 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -519,7 +519,7 @@ uninstall : # Raise an error when attempting to build any files with recursive dependencies. $(call built,$(recursivefiles)) : - @$(PRINTF) '%b\n' $(call quote,\0033[93;41mError:\0033[39;49m `$(call unbuilt,$@)´ has recursive dependencies:\n$(subst |, ,$(subst $(space),$(newline),$(foreach recursive,$(call recursives,$(call unbuilt,$@)),•|$(recursive))))) >&2 && false + @$(PRINTF) '%b\n' $(call quote,\0033[93;41mError:\0033[39;49m `$(call unbuilt,$@)´ has recursive dependencies:\n$(subst |, ,$(subst $(space),$(newline),$(foreach recursive,$(call recursives,$(call unbuilt,$@)),•|$(recursive))))) >&2 && exit 1 # Add as a prerequisite to treat the target as tho it were phony. FORCE : ;