diff options
| author | Dani Moncayo | 2014-11-08 16:18:06 +0100 |
|---|---|---|
| committer | Dani Moncayo | 2014-11-08 16:18:06 +0100 |
| commit | 1e1f2237cd3bcb66158756c17e6f405a36e12254 (patch) | |
| tree | 3227c42a837580b31e995acea4ac1f2ba8600639 | |
| parent | 7c86a2a7d82558206a96139bab73552003b3c28f (diff) | |
| download | emacs-1e1f2237cd3bcb66158756c17e6f405a36e12254.tar.gz emacs-1e1f2237cd3bcb66158756c17e6f405a36e12254.zip | |
Makefile.in (epaths-force-w32): Simplify.
* Makefile.in (epaths-force-w32): Simplify, assuming that the shell is
bash (as is the case in MSYS).
(msys_w32prefix_subst, msys_sed_sh_escape): Remove (no longer used).
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | Makefile.in | 12 |
2 files changed, 7 insertions, 11 deletions
| @@ -2,7 +2,11 @@ | |||
| 2 | 2 | ||
| 3 | * build-aux/msys-to-w32: simplify the initial over-engineered | 3 | * build-aux/msys-to-w32: simplify the initial over-engineered |
| 4 | interface, and the implementation. | 4 | interface, and the implementation. |
| 5 | * Makefile.in (epaths-force-w32): Update for the above. | 5 | * Makefile.in (epaths-force-w32): Update for the above. Also |
| 6 | simplify, assuming that the shell is bash (which is the case in | ||
| 7 | MSYS). | ||
| 8 | (msys_w32prefix_subst, msys_sed_sh_escape): Remove (no longer | ||
| 9 | used). | ||
| 6 | 10 | ||
| 7 | 2014-11-05 Glenn Morris <rgm@gnu.org> | 11 | 2014-11-05 Glenn Morris <rgm@gnu.org> |
| 8 | 12 | ||
diff --git a/Makefile.in b/Makefile.in index 5dbe514e22a..aacc168a9a6 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -323,14 +323,6 @@ epaths-force: | |||
| 323 | -e 's;\(#.*PATH_DOC\).*$$;\1 "${etcdocdir}";') && \ | 323 | -e 's;\(#.*PATH_DOC\).*$$;\1 "${etcdocdir}";') && \ |
| 324 | ${srcdir}/build-aux/move-if-change epaths.h.$$$$ src/epaths.h | 324 | ${srcdir}/build-aux/move-if-change epaths.h.$$$$ src/epaths.h |
| 325 | 325 | ||
| 326 | # Replace "${w32prefix}" with '%emacs_dir%' (which expands to install | ||
| 327 | # directory at runtime). | ||
| 328 | msys_w32prefix_subst=sed -e 's!\(^\|;\)'"$${w32prefixpattern}"'\([;/]\|$$\)!\1%emacs_dir%\2!g' | ||
| 329 | |||
| 330 | # Quote Sed special characters (except backslash and newline) with | ||
| 331 | # a double backslash. | ||
| 332 | msys_sed_sh_escape=sed -e 's/[];$$*.^[]/\\\\&/g' | ||
| 333 | |||
| 334 | # The w32 build needs a slightly different editing, and it uses | 326 | # The w32 build needs a slightly different editing, and it uses |
| 335 | # nt/epaths.nt as the template. | 327 | # nt/epaths.nt as the template. |
| 336 | # | 328 | # |
| @@ -344,8 +336,8 @@ msys_sed_sh_escape=sed -e 's/[];$$*.^[]/\\\\&/g' | |||
| 344 | epaths-force-w32: | 336 | epaths-force-w32: |
| 345 | @(w32srcdir=`${srcdir}/build-aux/msys-to-w32 "${srcdir}"`; \ | 337 | @(w32srcdir=`${srcdir}/build-aux/msys-to-w32 "${srcdir}"`; \ |
| 346 | w32prefix=`${srcdir}/build-aux/msys-to-w32 "${prefix}"`; \ | 338 | w32prefix=`${srcdir}/build-aux/msys-to-w32 "${prefix}"`; \ |
| 347 | w32prefixpattern=`echo "$${w32prefix}" | ${msys_sed_sh_escape}` ; \ | 339 | w32locallisppath=`${srcdir}/build-aux/msys-to-w32 "${locallisppath}"` ; \ |
| 348 | w32locallisppath=`${srcdir}/build-aux/msys-to-w32 "${locallisppath}" | ${msys_w32prefix_subst}` ; \ | 340 | w32locallisppath=$${w32locallisppath//$${w32prefix}/"%emacs_dir%"} ; \ |
| 349 | sed < ${srcdir}/nt/epaths.nt > epaths.h.$$$$ \ | 341 | sed < ${srcdir}/nt/epaths.nt > epaths.h.$$$$ \ |
| 350 | -e 's;\(#.*PATH_SITELOADSEARCH\).*$$;\1 "'"$${w32locallisppath//;/\\;}"'";' \ | 342 | -e 's;\(#.*PATH_SITELOADSEARCH\).*$$;\1 "'"$${w32locallisppath//;/\\;}"'";' \ |
| 351 | -e '/^.*#/s/@VER@/${version}/g' \ | 343 | -e '/^.*#/s/@VER@/${version}/g' \ |