summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-03-20 14:51:42 +0000
committerRichard M. Stallman <rms@gnu.org>1996-03-20 14:51:42 +0000
commit9e6b220689ac0c79cf985178c33878d0aa7acc1a (patch)
tree20676fd2527aa649058d3b713107f3ec044fc408 /Makefile.in
parentd12c757553a01e3e7e33f4da859e421204a064a0 (diff)
downloademacs-9e6b220689ac0c79cf985178c33878d0aa7acc1a.tar.gz
(install-strip): New target.
(top_distclean): Use `|| true' to ignore error in rm. -f failed to do the job on Suns.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 81de57e11a5..106e6862a56 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -388,6 +388,11 @@ install-arch-indep: mkdir
chmod a+r ${man1dir}/$${page}${manext}); \
done
+### Build Emacs and install it, stripping binaries while installing them.
+install-strip:
+ $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
+ install
+
### Build all the directories we're going to install Emacs in. Since
### we may be creating several layers of directories (for example,
### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use mkinstalldirs
@@ -468,7 +473,7 @@ clean: FRC
top_distclean=\
rm -f config.status config.cache config.log ; \
rm -f Makefile ${SUBDIR_MAKEFILES} ; \
- (cd lock && rm -f *)
+ (cd lock && (rm * || true))
distclean: FRC
(cd src; $(MAKE) $(MFLAGS) distclean)
(cd oldXMenu; $(MAKE) $(MFLAGS) distclean)