emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 91c3a276dd: ; * Makefile.in: Add option to disable advice on fail


From: Gregory Heytings
Subject: master 91c3a276dd: ; * Makefile.in: Add option to disable advice on failure.
Date: Sat, 19 Nov 2022 09:04:05 -0500 (EST)

branch: master
commit 91c3a276dd5cdeb6eab40d921ff2def47500a4c4
Author: Gregory Heytings <gregory@heytings.org>
Commit: Gregory Heytings <gregory@heytings.org>

    ; * Makefile.in: Add option to disable advice on failure.
---
 Makefile.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.in b/Makefile.in
index 66fa688feb..3109472a8a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -405,6 +405,7 @@ actual-all: ${SUBDIR} info $(gsettings_SCHEMAS:.xml=.valid) 
src-depending-on-lis
 # ADVICE-ON-FAILURE-END:bootstrap
 
 advice-on-failure:
+       @[ -f .no-advice-on-failure ] && exit ${exit-status}; true
        @echo >&2 '***'
        @echo >&2 '*** '"\"make ${make-target}\" failed with exit status 
${exit-status}."
        @echo >&2 '***'
@@ -415,6 +416,7 @@ advice-on-failure:
        @exit ${exit-status}
 
 sanity-check:
+       @[ -f .no-advice-on-failure ] && exit 0; true
        @v=$$(src/emacs${EXEEXT} --batch --eval \
          '(progn (defun f (n) (if (= 0 n) 1 (* n (f (- n 1))))) (princ (f 
10)))' \
          2> /dev/null); \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]