# HG changeset patch # User Romain Francoise # Date 1130845747 0 # Node ID abdceedc8fadb2788224486b6d265f63cb0d6e93 # Parent 5e5764b98f3ebc699c084fdaa59bfe85d4a9f9c7 * Makefile.in (install): Compress source files. diff -r 5e5764b98f3e -r abdceedc8fad leim/ChangeLog --- 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 + + * Makefile.in (install): Compress source files. + 2005-10-28 Juri Linkov * quail/symbol-ksc.el: Add missing characters from 1st pos of diff -r 5e5764b98f3e -r abdceedc8fad leim/Makefile.in --- 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: