summaryrefslogtreecommitdiff
path: root/src/verbose.mk.in
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-09-28 15:00:50 +0300
committerEli Zaretskii <eliz@gnu.org>2021-09-28 15:00:50 +0300
commit90655e4bc01ba8d00be3281d13cc771b53e75b43 (patch)
treed0f734ef8d6a148745faa261feeb519dc65bd1bd /src/verbose.mk.in
parentb02a7ad2631b6ac3a95e53cb26a0aa1b1ab7e98a (diff)
downloademacs-90655e4bc01ba8d00be3281d13cc771b53e75b43.tar.gz
Make the build of source tarball produce *.eln files
* lisp/emacs-lisp/comp.el (batch-native-compile): Accept an optional argument; if non-nil, place the .eln file as appropriate for building a source tarball. * doc/lispref/compile.texi (Native-Compilation Functions): Document the new optional argument of 'batch-native-compile'. * lisp/Makefile.in (.PHONY, $(THEFILE)n) [HAVE_NATIVE_COMP]: New targets. * src/Makefile.in (%.eln) [HAVE_NATIVE_COMP]: New recipe. (all) [HAVE_NATIVE_COMP]: Add ../native-lisp to prerequisites. (elnlisp) [HAVE_NATIVE_COMP]: New list of *.eln files. (../native-lisp) [HAVE_NATIVE_COMP]: New recipe. * src/verbose.mk.in (AM_V_ELN): New macro.
Diffstat (limited to 'src/verbose.mk.in')
-rw-r--r--src/verbose.mk.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/verbose.mk.in b/src/verbose.mk.in
index 50d6ea32000..a5ff931ed09 100644
--- a/src/verbose.mk.in
+++ b/src/verbose.mk.in
@@ -25,6 +25,7 @@ AM_V_at =
AM_V_CC =
AM_V_CCLD =
AM_V_ELC =
+AM_V_ELN =
AM_V_GEN =
AM_V_GLOBALS =
AM_V_NO_PD =
@@ -37,11 +38,14 @@ AM_V_CCLD = @echo " CCLD " $@;
ifeq ($(HAVE_NATIVE_COMP),yes)
ifeq ($(NATIVE_DISABLED),1)
AM_V_ELC = @echo " ELC " $@;
+AM_V_ELN =
else
AM_V_ELC = @echo " ELC+ELN " $@;
+AM_V_ELN = @echo " ELN " $@;
endif
else
AM_V_ELC = @echo " ELC " $@;
+AM_V_ELN =
endif
AM_V_GEN = @echo " GEN " $@;
AM_V_GLOBALS = @echo " GEN " globals.h;