emacs-devel
[Top][All Lists]
Advanced

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

Re: src/Makefile unhelpful


From: Gregory Heytings
Subject: Re: src/Makefile unhelpful
Date: Thu, 15 Sep 2022 07:28:09 +0000


diff --git a/Makefile.in b/Makefile.in
index d288bacb9d..67f19e7abd 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -366,6 +366,12 @@ ELN_DESTDIR =

 gsettings_SCHEMAS = etc/org.gnu.emacs.defaults.gschema.xml

+default:
+       $(MAKE) all || $(MAKE) signal_error
+
+signal_error:
+       @echo -e "\nConsider trying \"make bootstrap\"\n"
+
 all: ${SUBDIR} info $(gsettings_SCHEMAS:.xml=.valid)
 src-depending-on-lisp

Oh, wow, I didn't even consider doing it this way... But, yes, that'd work, I think? (Except that we should call that rule "all" instead of "default", since that's the general convention.)


Okay, I'll wait for other's feedback, and I'll push it, after some more testing and after replacing "default" by "all" (and "all" by... something else).



reply via email to

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