From: Mark Wooding Date: Sat, 17 Feb 2024 14:54:27 +0000 (+0000) Subject: Makefile: Fix Emacs compilation so that it actually notices failures. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/34b3e368ae2864613990ff5a1a8bbf6bab92415f Makefile: Fix Emacs compilation so that it actually notices failures. --- 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