]> code.delx.au - gnu-emacs/commitdiff
* configure.in: Check for gzip.
authorRomain Francoise <romain@orebokech.com>
Tue, 1 Nov 2005 11:48:27 +0000 (11:48 +0000)
committerRomain Francoise <romain@orebokech.com>
Tue, 1 Nov 2005 11:48:27 +0000 (11:48 +0000)
* Makefile.in (install): Compress source files.

ChangeLog
Makefile.in
configure.in

index 6a3343afb0ba761066c1af0b0a4d469dd6fd1695..c0ba209aeac36e584ee50e69d11fe1ef6b665daf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,14 @@
+2005-11-01  Romain Francoise  <romain@orebokech.com>
+
+       * configure.in: Check for gzip.
+       * configure: Regenerate.
+
+       * Makefile.in (install): Compress source files.
+
 2005-10-24  Steven Tamm  <steventamm@mac.com>
 
-       * configure.in: Fix darwin386 configuration issue
-       * configure: Regenerate
+       * configure.in: Fix darwin386 configuration issue.
+       * configure: Regenerate.
 
 2005-10-22  Eli Zaretskii  <eliz@gnu.org>
 
index 56551e319ce21937e4d0e2b7b96f6dd8a24f5165..00941a9e69a396bf097fbf90d50435f9ab08bf9f 100644 (file)
@@ -223,6 +223,9 @@ INSTALL_INFO = @INSTALL_INFO@
 # By default, we uphold the dignity of our programs.
 INSTALL_STRIP =
 
+# We use gzip to compress installed .el files.
+GZIP = @GZIP@
+
 # ============================= Targets ==============================
 
 # Program name transformation.
@@ -475,6 +478,14 @@ install-arch-indep: mkdir info
           (cd ${lispdir}; find . -exec chown $${LOGNAME:-$$USERNAME} {} ';') ; \
        else true; fi
        -unset CDPATH; \
+       if [ -n "${GZIP}" ]; \
+       then \
+          echo "Compressing *.el ..." ; \
+          (cd ${lispdir}; for f in `find . -name "*.elc" -print`; do \
+               ${GZIP} -9n `echo $$f|sed 's/.elc$$/.el/'` ; \
+           done) \
+       else true; fi
+       -unset CDPATH; \
        thisdir=`/bin/pwd`; \
        if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
        then \
index 628bfcad4d1cf8d9d19a67a4a845baef6e72743f..077df91d3d02dedf821a2f03c6c38a3171c27e8a 100644 (file)
@@ -1272,6 +1272,7 @@ fi
 AC_PATH_PROG(INSTALL_INFO, install-info)
 AC_PATH_PROG(INSTALL_INFO, install-info,, /usr/sbin)
 AC_PATH_PROG(INSTALL_INFO, install-info,:, /sbin)
+AC_PATH_PROG(GZIP, gzip)
 
 dnl Add our options to ac_link now, after it is set up.