From 7a7f042f7d01003acecf9c70e9275f2493471bad Mon Sep 17 00:00:00 2001 From: Romain Francoise Date: Tue, 1 Nov 2005 11:49:07 +0000 Subject: [PATCH] * Makefile.in (install): Compress source files. --- leim/ChangeLog | 4 ++++ leim/Makefile.in | 10 ++++++++++ 2 files changed, 14 insertions(+) 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 + + * Makefile.in (install): Compress source files. + 2005-10-28 Juri Linkov * 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: -- 2.39.5