From 34b3e368ae2864613990ff5a1a8bbf6bab92415f Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 17 Feb 2024 14:54:27 +0000 Subject: [PATCH] Makefile: Fix Emacs compilation so that it actually notices failures. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f7ec50d..e650635 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,7 @@ SCRIPTLINKS += aspell-hack emerge-hack wakey.sh $(call v_tag,EMACS)if ! $(EMACS) >$*.build-log 2>&1 \ -L el/ -L $(EMACSLIB) \ --batch --no-site-file \ - --eval '(byte-compile-file "$<")'; then \ + --eval '(kill-emacs (if (byte-compile-file "$<") 0 2))'; then \ cat $*.build-log; exit 2; \ fi -- 2.11.0