X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/3af0867d70af94e7bfca777c259f05ec3aa41219..eeb935fd22de63da6138db39fab9daf3f02cc136:/Makefile.in diff --git a/Makefile.in b/Makefile.in index 56551e319c..c565bee02a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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)