]> code.delx.au - gnu-emacs/commitdiff
* Makefile.in (install): Compress source files.
authorRomain Francoise <romain@orebokech.com>
Tue, 1 Nov 2005 11:49:07 +0000 (11:49 +0000)
committerRomain Francoise <romain@orebokech.com>
Tue, 1 Nov 2005 11:49:07 +0000 (11:49 +0000)
leim/ChangeLog
leim/Makefile.in

index a336b65bf2ba05d2af4aeae3eb7a18b294286a0c..154e30bcc5011694831a6d84470de64963f539f1 100644 (file)
@@ -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
index 7d550fa7598b2e28eb9cbfd111ce01c7a87a31b9..4eab73787609fede013606129bd44b3bf3d5538d 100644 (file)
@@ -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: