diff options
| author | Paul Eggert | 2014-02-13 10:59:24 -0800 |
|---|---|---|
| committer | Paul Eggert | 2014-02-13 10:59:24 -0800 |
| commit | 89a97129155bad4f46dd77a951038cef4c66e1f4 (patch) | |
| tree | 859fd31867cf63675980bb7e11725225f597e438 | |
| parent | 8abcfd51c657dc885718f35f385aa5f7d4cd4645 (diff) | |
| download | emacs-89a97129155bad4f46dd77a951038cef4c66e1f4.tar.gz emacs-89a97129155bad4f46dd77a951038cef4c66e1f4.zip | |
* Makefile.in (install-arch-indep): Simplify.
This should make it more reliable, and hopefully more portable to
non-GNU 'make' implementations such as HP-UX 'make'.
Fixes: debbugs:16717
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | Makefile.in | 17 |
2 files changed, 11 insertions, 12 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-02-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * Makefile.in (install-arch-indep): Simplify (Bug#16717). | ||
| 4 | This should make it more reliable, and hopefully more portable to | ||
| 5 | non-GNU 'make' implementations such as HP-UX 'make'. | ||
| 6 | |||
| 1 | 2014-02-13 Juanma Barranquero <lekktu@gmail.com> | 7 | 2014-02-13 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 8 | ||
| 3 | * Makefile.in (install-nt): Also pass datadir. | 9 | * Makefile.in (install-nt): Also pass datadir. |
diff --git a/Makefile.in b/Makefile.in index 192c9483eb0..44ba084bee4 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -612,18 +612,11 @@ install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA} | |||
| 612 | ${write_subdir} | 612 | ${write_subdir} |
| 613 | subdir="$(DESTDIR)${datadir}/emacs/site-lisp" ; \ | 613 | subdir="$(DESTDIR)${datadir}/emacs/site-lisp" ; \ |
| 614 | ${write_subdir} || true | 614 | ${write_subdir} || true |
| 615 | [ -z "${GZIP_PROG}" ] || \ | 615 | [ -z "${GZIP_PROG}" ] || { \ |
| 616 | ( echo "Compressing *.el ..." ; \ | 616 | echo "Compressing *.el ..." && \ |
| 617 | unset CDPATH; \ | 617 | find "$(DESTDIR)${lispdir}" -name '*.elc' -exec sh -c \ |
| 618 | thisdir=`/bin/pwd`; \ | 618 | '${GZIP_PROG} -9n `expr "$$@" : "\\(.*\\)c"`' dummy '{}' ';'; \ |
| 619 | for dir in "$(DESTDIR)${lispdir}"; do \ | 619 | } |
| 620 | cd "$${thisdir}" ; \ | ||
| 621 | cd "$${dir}" || exit 1 ; \ | ||
| 622 | for f in `find . -name "*.elc" -print`; do \ | ||
| 623 | f_el=`echo "$$f" | sed 's/.elc$$/.el/'`; \ | ||
| 624 | ${GZIP_PROG} -9n "$$f_el" ; \ | ||
| 625 | done ; \ | ||
| 626 | done ) | ||
| 627 | -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS} | 620 | -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS} |
| 628 | 621 | ||
| 629 | ## The above chmods are needed because "umask 022; tar ..." is not | 622 | ## The above chmods are needed because "umask 022; tar ..." is not |