diff options
author | Romain Francoise <romain@orebokech.com> | 2005-11-01 11:49:07 +0000 |
---|---|---|
committer | Romain Francoise <romain@orebokech.com> | 2005-11-01 11:49:07 +0000 |
commit | 7a7f042f7d01003acecf9c70e9275f2493471bad (patch) | |
tree | de633139f1e724a3a79f1c12d9450eb976d2dd91 /leim | |
parent | 4ac4f9ce5eecb325b3641f68def3be16caabc7b9 (diff) | |
download | emacs-7a7f042f7d01003acecf9c70e9275f2493471bad.tar.gz |
* Makefile.in (install): Compress source files.
Diffstat (limited to 'leim')
-rw-r--r-- | leim/ChangeLog | 4 | ||||
-rw-r--r-- | leim/Makefile.in | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/leim/ChangeLog b/leim/ChangeLog index a336b65bf2b..154e30bcc50 100644 --- a/leim/ChangeLog +++ b/leim/ChangeLog @@ -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 diff --git a/leim/Makefile.in b/leim/Makefile.in index 7d550fa7598..4eab7378760 100644 --- a/leim/Makefile.in +++ b/leim/Makefile.in @@ -37,6 +37,8 @@ srcdir=@srcdir@ # 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 @@ install: all 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: |