diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-08-29 20:54:02 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-08-29 20:54:02 +0000 |
commit | c1b8c545170d7104104a8398757e76fd1775ed72 (patch) | |
tree | 4b8c14ba5b04e720a1fbc2935d1a948e5cac52dc /Makefile.in | |
parent | c291d9ef2b87b430b7c0958a7dea0974fa347380 (diff) | |
download | emacs-c1b8c545170d7104104a8398757e76fd1775ed72.tar.gz |
(INSTALL_STRIP): New variable.
(install-strip): Set INSTALL_STRIP, not INSTALL_PROGRAM.
(install-arch-dep): Use INSTALL_STRIP, and pass it to lib-src.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 9 |
1 files 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, |