]> code.delx.au - gnu-emacs/blobdiff - Makefile.in
(menu-bar-describe-menu) <list-keybindings>: Mention "keyboard shortcuts"
[gnu-emacs] / Makefile.in
index 56551e319ce21937e4d0e2b7b96f6dd8a24f5165..c565bee02a3a1b0737bd4eb1db930e08618fbf1b 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_PROG = @GZIP_PROG@
+
 # ============================= 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_PROG}" ]; \
+       then \
+          echo "Compressing *.el ..." ; \
+          (cd ${lispdir}; for f in `find . -name "*.elc" -print`; do \
+               ${GZIP_PROG} -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 \
@@ -750,9 +761,11 @@ maybe_bootstrap:
          exit 1;\
        fi
 
-bootstrap: bootstrap-clean-before info bootstrap-build FRC
+bootstrap: bootstrap-clean-before FRC
+       $(MAKE) $(MFLAGS) info bootstrap-build
 
-bootfast: bootstrap-clean-before-fast info bootstrap-build FRC
+bootfast: bootstrap-clean-before-fast FRC
+       $(MAKE) $(MFLAGS) info bootstrap-build
 
 bootstrap-build: FRC
        (cd lisp; $(MAKE) $(MFLAGS) bootstrap-prepare)