emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/Makefile.in


From: Romain Francoise
Subject: [Emacs-diffs] Changes to emacs/Makefile.in
Date: Tue, 01 Nov 2005 06:48:29 -0500

Index: emacs/Makefile.in
diff -c emacs/Makefile.in:1.305 emacs/Makefile.in:1.306
*** emacs/Makefile.in:1.305     Thu Sep 15 12:36:49 2005
--- emacs/Makefile.in   Tue Nov  1 11:48:27 2005
***************
*** 223,228 ****
--- 223,231 ----
  # 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.
***************
*** 473,478 ****
--- 476,489 ----
           (cd lisp; tar -chf - *.el *.elc) \
             |(cd ${lispdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 
1; \
           (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`; \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]