From c1b8c545170d7104104a8398757e76fd1775ed72 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 29 Aug 1996 20:54:02 +0000 Subject: [PATCH] (INSTALL_STRIP): New variable. (install-strip): Set INSTALL_STRIP, not INSTALL_PROGRAM. (install-arch-dep): Use INSTALL_STRIP, and pass it to lib-src. --- Makefile.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index d2de5a46139..0ba54180838 100644 --- a/Makefile.in +++ b/Makefile.in @@ -175,6 +175,8 @@ docdir=@docdir@ 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 @@ install-arch-dep: mkdir (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 @@ install-arch-indep: mkdir ### 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, -- 2.11.4.GIT