[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r116434: * Makefile.in (install-arch-indep): Simplif
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] trunk r116434: * Makefile.in (install-arch-indep): Simplify. |
Date: |
Thu, 13 Feb 2014 18:59:27 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116434
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/16717
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Thu 2014-02-13 10:59:24 -0800
message:
* 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'.
modified:
ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1538
Makefile.in makefile.in-20091113204419-o5vbwnq5f7feedwu-446
=== modified file 'ChangeLog'
--- a/ChangeLog 2014-02-13 03:19:57 +0000
+++ b/ChangeLog 2014-02-13 18:59:24 +0000
@@ -1,3 +1,9 @@
+2014-02-13 Paul Eggert <address@hidden>
+
+ * Makefile.in (install-arch-indep): Simplify (Bug#16717).
+ This should make it more reliable, and hopefully more portable to
+ non-GNU 'make' implementations such as HP-UX 'make'.
+
2014-02-13 Juanma Barranquero <address@hidden>
* Makefile.in (install-nt): Also pass datadir.
=== modified file 'Makefile.in'
--- a/Makefile.in 2014-02-13 03:19:57 +0000
+++ b/Makefile.in 2014-02-13 18:59:24 +0000
@@ -612,18 +612,11 @@
${write_subdir}
subdir="$(DESTDIR)${datadir}/emacs/site-lisp" ; \
${write_subdir} || true
- [ -z "${GZIP_PROG}" ] || \
- ( echo "Compressing *.el ..." ; \
- unset CDPATH; \
- thisdir=`/bin/pwd`; \
- for dir in "$(DESTDIR)${lispdir}"; do \
- cd "$${thisdir}" ; \
- cd "$${dir}" || exit 1 ; \
- for f in `find . -name "*.elc" -print`; do \
- f_el=`echo "$$f" | sed 's/.elc$$/.el/'`; \
- ${GZIP_PROG} -9n "$$f_el" ; \
- done ; \
- done )
+ [ -z "${GZIP_PROG}" ] || { \
+ echo "Compressing *.el ..." && \
+ find "$(DESTDIR)${lispdir}" -name '*.elc' -exec sh -c \
+ '${GZIP_PROG} -9n `expr "$$@" : "\\(.*\\)c"`' dummy '{}' ';'; \
+ }
-chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}
## The above chmods are needed because "umask 022; tar ..." is not
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r116434: * Makefile.in (install-arch-indep): Simplify.,
Paul Eggert <=