# HG changeset patch # User Richard M. Stallman # Date 841352042 0 # Node ID 9d392663cd093934d69c3dc9c3f6c1f72d32d764 # Parent 61249a8fe73550ca8001288baf18c88a38df3796 (INSTALL_STRIP): New variable. (install-strip): Set INSTALL_STRIP, not INSTALL_PROGRAM. (install-arch-dep): Use INSTALL_STRIP, and pass it to lib-src. diff -r 61249a8fe735 -r 9d392663cd09 Makefile.in --- a/Makefile.in Thu Aug 29 20:50:15 1996 +0000 +++ b/Makefile.in Thu Aug 29 20:54:02 1996 +0000 @@ -175,6 +175,8 @@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ +# By default, we uphold the dignity of our programs. +INSTALL_STRIP = # ============================= Targets ============================== @@ -274,8 +276,9 @@ (cd lib-src; \ $(MAKE) install $(MFLAGS) prefix=${prefix} \ exec_prefix=${exec_prefix} bindir=${bindir} \ - libexecdir=${libexecdir} archlibdir=${archlibdir}) - ${INSTALL_PROGRAM} src/emacs ${bindir}/emacs-${version} + libexecdir=${libexecdir} archlibdir=${archlibdir} \ + INSTALL_STRIP=${INSTALL_STRIP}) + ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs ${bindir}/emacs-${version} -chmod 1755 ${bindir}/emacs-${version} rm -f ${bindir}/$(EMACS) -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS) @@ -359,7 +362,7 @@ ### Build Emacs and install it, stripping binaries while installing them. install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install + $(MAKE) INSTALL_STRIP=-s ### Build all the directories we're going to install Emacs in. Since ### we may be creating several layers of directories (for example,