# HG changeset patch # User Oleksandr Gavenko # Date 1597525954 -10800 # Node ID 06d768ee0feaa76afe74077f8651293562347b03 # Parent 6e1d795f72315b05adb5e67d4a441e19e002bba1 Fixed install target failure because of lexical binding of generated-autoload-file. diff -r 6e1d795f7231 -r 06d768ee0fea Makefile --- a/Makefile Wed May 27 13:28:47 2020 +0300 +++ b/Makefile Sun Aug 16 00:12:34 2020 +0300 @@ -166,7 +166,7 @@ \ cp -f $(EL_FILES) $(mylispdir); \ ./.emacs-autogen.sh $(emacsdir)/.emacs-autogen; \ -$(EMACS) --batch -Q --eval='(let ((generated-autoload-file "$(mylispdir)/loaddefs.el")) (update-directory-autoloads "$(mylispdir)"))' +$(EMACS) --batch -Q --eval='(progn (setq generated-autoload-file "$(mylispdir)/loaddefs.el") (update-directory-autoloads "$(mylispdir)"))' \ $(EMACS) --batch --load "$(curdir)/.emacs-defs" -f 'my-load.add-my-loadpaths' --load "$(emacsdir)/.emacs-pre" \ --eval='(byte-compile-file "$(emacsdir)/.emacs-my")' --eval='(byte-force-recompile "$(mylispdir)")'