]> git.eshelyaron.com Git - emacs.git/commitdiff
(INSTALL_STRIP): New variable.
authorRichard M. Stallman <rms@gnu.org>
Thu, 29 Aug 1996 20:54:02 +0000 (20:54 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 29 Aug 1996 20:54:02 +0000 (20:54 +0000)
(install-strip): Set INSTALL_STRIP, not INSTALL_PROGRAM.
(install-arch-dep): Use INSTALL_STRIP, and pass it to lib-src.

Makefile.in

index d2de5a4613930f4fc9aaba77aa1f96b2d206dff0..0ba5418083888b3a6aa3e29a14e7ea899a21e8a0 100644 (file)
@@ -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,