Ported Makefile to MSYS2: Emacs is native here and cannot deal with MSYS2-style paths.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 20 Sep 2022 00:16:01 +0300
changeset 1759 1bbd7898cc9b
parent 1756 2495ee9cf84c
child 1760 b1f428a6944d
Ported Makefile to MSYS2: Emacs is native here and cannot deal with MSYS2-style paths.
Makefile
--- a/Makefile	Mon Jul 25 11:38:25 2022 +0300
+++ b/Makefile	Tue Sep 20 00:16:01 2022 +0300
@@ -149,7 +149,8 @@
 	cp -r srecode/ $(HOME)/.emacs.d/
 	\
 install -m 0644 -t $(mylispdir) $(EL_FILES); \
-$(EMACS) --batch -Q --eval='(progn (setq generated-autoload-file "$(mylispdir)/loaddefs.el") (update-directory-autoloads "$(mylispdir)"))'
+cd $(mylispdir); \
+$(EMACS) --batch -Q --eval='(progn (setq generated-autoload-file "./loaddefs.el") (update-directory-autoloads "."))'
 
 .PHONY: uninstall
 uninstall: