comparison Makefile.in @ 66609:9578bb750e29

* configure.in: Check for gzip. * Makefile.in (install): Compress source files.
author Romain Francoise <romain@orebokech.com>
date Tue, 01 Nov 2005 11:48:27 +0000
parents 18b565312060
children d3f9ffbaf324
comparison
equal deleted inserted replaced
66608:7572dd565420 66609:9578bb750e29
220 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 220 INSTALL_PROGRAM = @INSTALL_PROGRAM@
221 INSTALL_DATA = @INSTALL_DATA@ 221 INSTALL_DATA = @INSTALL_DATA@
222 INSTALL_INFO = @INSTALL_INFO@ 222 INSTALL_INFO = @INSTALL_INFO@
223 # By default, we uphold the dignity of our programs. 223 # By default, we uphold the dignity of our programs.
224 INSTALL_STRIP = 224 INSTALL_STRIP =
225
226 # We use gzip to compress installed .el files.
227 GZIP = @GZIP@
225 228
226 # ============================= Targets ============================== 229 # ============================= Targets ==============================
227 230
228 # Program name transformation. 231 # Program name transformation.
229 TRANSFORM = @program_transform_name@ 232 TRANSFORM = @program_transform_name@
473 (cd lisp; tar -chf - *.el *.elc) \ 476 (cd lisp; tar -chf - *.el *.elc) \
474 |(cd ${lispdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \ 477 |(cd ${lispdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
475 (cd ${lispdir}; find . -exec chown $${LOGNAME:-$$USERNAME} {} ';') ; \ 478 (cd ${lispdir}; find . -exec chown $${LOGNAME:-$$USERNAME} {} ';') ; \
476 else true; fi 479 else true; fi
477 -unset CDPATH; \ 480 -unset CDPATH; \
481 if [ -n "${GZIP}" ]; \
482 then \
483 echo "Compressing *.el ..." ; \
484 (cd ${lispdir}; for f in `find . -name "*.elc" -print`; do \
485 ${GZIP} -9n `echo $$f|sed 's/.elc$$/.el/'` ; \
486 done) \
487 else true; fi
488 -unset CDPATH; \
478 thisdir=`/bin/pwd`; \ 489 thisdir=`/bin/pwd`; \
479 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ 490 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
480 then \ 491 then \
481 (cd ${infodir}; \ 492 (cd ${infodir}; \
482 if [ -f dir ]; then true; \ 493 if [ -f dir ]; then true; \