From: Richard M. Stallman Date: Thu, 29 Aug 1996 20:54:02 +0000 (+0000) Subject: (INSTALL_STRIP): New variable. X-Git-Tag: emacs-20.1~3969 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c1b8c545170d7104104a8398757e76fd1775ed72;p=emacs.git (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 --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,