Subject: bug#14513: 24.3.50; Site load-path pieces differ in MSYS build

From: Eli Zaretskii <[email-masked]>
Date: Fri, 07 Jun 2013 09:51:51 +0300

> From: Juanma Barranquero <[email-masked]>
> Date: Fri, 7 Jun 2013 03:49:10 +0200
> Cc: [email-masked], [email-masked]
> 
> as a last resort I don't object to having to pass
> --enable-locallisppath, but it does not work right now

I will commit Richard's changes soon, and then it will.

> (amussingly, if you pass
> --enable-locallisppath=%emacs_dir%/../site-lisp, after "make
> install" you get a directory called "%emacs_dir%").

"make install" doesn't accept the --enable-locallisppath option.
Perhaps you mean something like this:

  make install locallisppath=%emacs_dir%/../site-lisp

In that case, what you get is exactly what the current Makefile is
expected to do: it creates literally each directory in the value of
that variable.  The %..% part can only be interpreted correctly by
Emacs itself, as it needs special code to expand emacs_dir.