Subject: Re: bug#57309: 29.0.50; Build error "trying to dump non fixed-up eln file"

From: Gerd Möllmann <[email-masked]>
Date: Sun, 21 Aug 2022 15:56:16 +0200

Eli Zaretskii <[email-masked]> writes:

>> Note that --bin-dest and --eln-dest have no arguments.
>
> Their values are defined in the top-level Makefile.  Why are they
> empty in your case?

Exactly.

diff --git a/Makefile.in b/Makefile.in
index 78103f897f..7541e8d6b6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -367,7 +367,7 @@ .PHONY:
 # .pdmp containing the new autoloads.
 .PHONY: src-depending-on-lisp
 src-depending-on-lisp: lisp
-	${MAKE} -C src
+	${MAKE} -C src BIN_DESTDIR='$(BIN_DESTDIR)' ELN_DESTDIR='$(ELN_DESTDIR)'
 
 # If configure were to just generate emacsver.tex from emacsver.tex.in
 # in the normal way, the timestamp of emacsver.tex would always be

Everything falls back on oneself :-).

(BTW, doesn't GNU make have an 'export', or do I misremember that.
Whatever....)

I'll commit this soon.