bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17971: 24.3.92; Patch to fix el compression on RHEL/CentOS 7


From: Glenn Morris
Subject: bug#17971: 24.3.92; Patch to fix el compression on RHEL/CentOS 7
Date: Thu, 10 Jul 2014 12:06:37 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

My inclination is to revert install-arch-indep to how it used to be
before 2014-02-13. This has the virtue of having had more testing. It
was changed to avoid some unexplained HP make problem, which frankly I
don't think matters much (eg we require GNU make anyway in Emacs trunk
now).

Does this work for you:

*** Makefile.in 2014-02-14 08:05:18 +0000
--- Makefile.in 2014-07-10 15:59:29 +0000
***************
*** 614,622 ****
          ${write_subdir} || true
        [ -z "${GZIP_PROG}" ] || { \
          echo "Compressing *.el ..." && \
!         cd "$(DESTDIR)${lispdir}" && \
!         find . -name '*.elc' -exec $(SHELL) -c \
!           '${GZIP_PROG} -9n `expr "$$1" : "\\(.*\\)c"`' dummy '{}' ';'; \
        }
        -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}
  
--- 614,624 ----
          ${write_subdir} || true
        [ -z "${GZIP_PROG}" ] || { \
          echo "Compressing *.el ..." && \
!         cd "$(DESTDIR)${lispdir}" || exit 1 ; \
!         for f in `find . -name "*.elc" -print`; do \
!           f_el=`echo "$$f" | sed 's/.elc$$/.el/'`; \
!           ${GZIP_PROG} -9n "$$f_el" ; \
!         done ; \
        }
        -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}
  






reply via email to

[Prev in Thread] Current Thread [Next in Thread]