Mercurial > emacs
changeset 15975:9d392663cd09
(INSTALL_STRIP): New variable.
(install-strip): Set INSTALL_STRIP, not INSTALL_PROGRAM.
(install-arch-dep): Use INSTALL_STRIP, and pass it to lib-src.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 29 Aug 1996 20:54:02 +0000 |
parents | 61249a8fe735 |
children | e6d654e1fa2a |
files | Makefile.in |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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,