1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00
This commit is contained in:
Gregory Heytings 2022-09-19 09:38:58 +02:00
parent 60de98f6f0
commit 5a8e2dedf5

View File

@ -380,30 +380,26 @@ bootstrap-all:
actual-all: ${SUBDIR} info $(gsettings_SCHEMAS:.xml=.valid) src-depending-on-lisp actual-all: ${SUBDIR} info $(gsettings_SCHEMAS:.xml=.valid) src-depending-on-lisp
# ADVICE-ON-FAILURE-BEGIN:all # ADVICE-ON-FAILURE-BEGIN:all
# It can help to run "make bootstrap", which can resolve many build # You might try to:
# failures caused by incrementally building from a previously built # - run "make bootstrap", which might fix the problem
# checkout. # - run "make V=1", which displays the full commands invoked by make,
#   to further investigate the problem
# Failing that, running "make V=1" will cause Make to display the full
# commands it invokes to build Emacs, which helps to investigate the
# problem.
# ADVICE-ON-FAILURE-END:all # ADVICE-ON-FAILURE-END:all
# ADVICE-ON-FAILURE-BEGIN:bootstrap # ADVICE-ON-FAILURE-BEGIN:bootstrap
# If "make bootstrap" failed, try running "make extraclean" and then # You might try to:
# "make bootstrap" again. If that still fails and you are building # - run "git clean -fdx" and run "make bootstrap" again, which might
# Emacs from a repository checkout, run "git clean -fdx" and retry #   fix the problem
# "make bootstrap". Otherwise, please report a bug by sending email #   !BEWARE! "git clean -fdx" deletes all files that are not under
# to bug-gnu-emacs@gnu.org. #   !BEWARE! version control, which means that all changes to such
# #   !BEWARE! files will be lost and cannot be restored later
# Take care: "git clean -fdx" deletes all files that are not under # - run "make V=1", which displays the full commands invoked by make,
# version control, which means that all changes to such files will be #   to further investigate the problem
# lost and cannot be restored later.
# ADVICE-ON-FAILURE-END:bootstrap # ADVICE-ON-FAILURE-END:bootstrap
advice-on-failure: advice-on-failure:
@echo @echo
@echo "make ${make-target}\" failed with exit status ${exit-status}." @echo " \"make ${make-target}\" failed with exit status ${exit-status}."
@cat Makefile | \ @cat Makefile | \
sed -n '/^# ADVICE-ON-FAILURE-BEGIN:${make-target}/,$${p;/^# ADVICE-ON-FAILURE-END:${make-target}/q};' | \ sed -n '/^# ADVICE-ON-FAILURE-BEGIN:${make-target}/,$${p;/^# ADVICE-ON-FAILURE-END:${make-target}/q};' | \
sed 's/^# //' | grep -v '^ADVICE-ON-FAILURE-' sed 's/^# //' | grep -v '^ADVICE-ON-FAILURE-'