Mercurial > emacs
changeset 66611:abdceedc8fad
* Makefile.in (install): Compress source files.
author | Romain Francoise <romain@orebokech.com> |
---|---|
date | Tue, 01 Nov 2005 11:49:07 +0000 |
parents | 5e5764b98f3e |
children | f71c244c6b3f |
files | leim/ChangeLog leim/Makefile.in |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/leim/ChangeLog Tue Nov 01 11:48:50 2005 +0000 +++ b/leim/ChangeLog Tue Nov 01 11:49:07 2005 +0000 @@ -1,3 +1,7 @@ +2005-11-01 Romain Francoise <romain@orebokech.com> + + * Makefile.in (install): Compress source files. + 2005-10-28 Juri Linkov <juri@jurta.org> * quail/symbol-ksc.el: Add missing characters from 1st pos of
--- a/leim/Makefile.in Tue Nov 01 11:48:50 2005 +0000 +++ b/leim/Makefile.in Tue Nov 01 11:49:07 2005 +0000 @@ -37,6 +37,8 @@ # Where to install LEIM files. INSTALLDIR=${datadir}/emacs/${version}/leim +GZIP = @GZIP@ + # On Xenix and the IBM RS6000, double-dot gets screwed up. dot = . @@ -238,6 +240,14 @@ rm -f ${INSTALLDIR}/*~ ${INSTALLDIR}/*/*~ ; \ rm -f ${INSTALLDIR}/*.orig ${INSTALLDIR}/*/*.orig ; \ else true; fi + -unset CDPATH; \ + if [ -n "${GZIP}" ]; \ + then \ + echo "Compressing *.el ..." ; \ + (cd ${INSTALLDIR}; for f in `find . -name "*.elc" -print`; do \ + ${GZIP} -9n `echo $$f|sed 's/.elc$$/.el/'` ; \ + done) \ + else true; fi -chmod -R a+r ${INSTALLDIR} clean mostlyclean: