Launch .emacs-autogen.sh with predefined SHELL.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 01 Jan 2021 20:21:33 +0200
changeset 1661 e4711ae3529f
parent 1660 969cca2050e2
child 1662 f697f2772ec9
Launch .emacs-autogen.sh with predefined SHELL.
Makefile
--- a/Makefile	Fri Jan 01 19:57:59 2021 +0200
+++ b/Makefile	Fri Jan 01 20:21:33 2021 +0200
@@ -162,9 +162,9 @@
 	\
 mkdir -p $(emacsdir)/server $(HOME)/.gnus/scores; \
 cp all.SCORE $(HOME)/.gnus/scores
+	$(SHELL) .emacs-autogen.sh $(emacsdir)/.emacs-autogen
 	\
 cp -f $(EL_FILES) $(mylispdir); \
-./.emacs-autogen.sh $(emacsdir)/.emacs-autogen; \
 $(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" \