diff Makefile.in.in @ 3083:193188e494b2

[xemacs-hg @ 2005-11-22 07:14:37 by ben] fix problems building with CVS dirs dynodump/Makefile.in.in: Ignore errors from rm during clean. Makefile.in.in: Ignore errors from rm during clean, to prevent problems trying to remove lock/CVS. Makefile.in.in: Ignore errors from rm during clean. Makefile.in.in: Ignore errors from rm during clean. Makefile.in.in: Ignore errors from rm during clean. Makefile.in.in: Ignore errors from rm during clean. common/Makefile.common: Ignore errors from rm during clean.
author ben
date Tue, 22 Nov 2005 07:14:54 +0000
parents 0f411920c8db
children 9a0af1444f54
line wrap: on
line diff
--- a/Makefile.in.in	Mon Nov 21 22:51:03 2005 +0000
+++ b/Makefile.in.in	Tue Nov 22 07:14:54 2005 +0000
@@ -534,7 +534,7 @@
 ##      target for GCC does not delete `libgcc.a', because recompiling it
 ##      is rarely necessary and takes a lot of time.
 top-mostlyclean: FRC.mostlyclean
-	$(RM) core
+	-$(RM) core
 
 mostlyclean: top-mostlyclean
 	for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done
@@ -552,10 +552,10 @@
 ##      when they don't work right.  (beta can't depend on distclean, which
 ##      removes necessary files generated by configure.)
 top-clean: FRC.clean
-	$(RM) core lisp/auto-autoloads.el* lisp/custom-load.el*
-	$(RM) lisp/mule/auto-autoloads.el* lisp/mule/custom-load.el*
-	$(RM) modules/auto-autoloads.el* modules/custom-load.el*
-	$(RM) etc/PROBLEMS
+	-$(RM) core lisp/auto-autoloads.el* lisp/custom-load.el*
+	-$(RM) lisp/mule/auto-autoloads.el* lisp/mule/custom-load.el*
+	-$(RM) modules/auto-autoloads.el* modules/custom-load.el*
+	-$(RM) etc/PROBLEMS
 
 clean: top-mostlyclean top-clean
 	for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done
@@ -563,8 +563,8 @@
 ## `distclean-noconfig'
 ##      Like `distclean' but don't delete files created by `configure'.
 top-distclean-noconfig: FRC.distclean-noconfig
-	$(RM) TAGS .sbinit lock/* lisp/finder-inf.el*
-	$(RM) -r site-packages xemacs-packages mule-packages site-lisp
+	-$(RM) TAGS .sbinit lock/* lisp/finder-inf.el*
+	-$(RM) -r site-packages xemacs-packages mule-packages site-lisp
 
 distclean-noconfig: top-mostlyclean top-clean top-distclean-noconfig
 	for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done
@@ -576,9 +576,9 @@
 ##      `make distclean' should leave only the files that were in the
 ##      distribution.
 top-distclean: FRC.distclean
-	$(RM) config.status config.log confdefs.h config-tmp-* build-install Installation
-	$(RM) GNUmakefile Makefile Makefile.in
-	$(RM) Installation.el Installation.elc
+	-$(RM) config.status config.log confdefs.h config-tmp-* build-install Installation
+	-$(RM) GNUmakefile Makefile Makefile.in
+	-$(RM) Installation.el Installation.elc
 
 distclean: top-mostlyclean top-clean top-distclean-noconfig top-distclean
 	for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done
@@ -587,7 +587,7 @@
 ##      Delete everything that can be reconstructed by `make'.  Don't delete
 ##	anything requiring reconfiguration.
 top-realclean-noconfig: FRC.realclean-noconfig
-	$(RM) *.elc lisp/*.elc lisp/mule/*.elc lisp/term/*.elc modules/*.elc
+	-$(RM) *.elc lisp/*.elc lisp/mule/*.elc lisp/term/*.elc modules/*.elc
 
 realclean-noconfig: top-mostlyclean top-clean top-distclean-noconfig top-realclean-noconfig
 	for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done
@@ -613,7 +613,7 @@
 ## `extraclean-noconfig'
 ##      Like `extraclean' but don't delete anything requiring reconfiguration.
 top-extraclean-noconfig: FRC.extraclean-noconfig
-	$(RM) *~ \#*
+	-$(RM) *~ \#*
 
 extraclean-noconfig: top-mostlyclean top-clean top-distclean-noconfig top-realclean-noconfig top-extraclean-noconfig
 	for d in $(SUBDIR); do (cd ./$$d && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@); done
@@ -662,7 +662,7 @@
 tagslisp = lisp
 TAGS tags: FRC.tags
 	@echo "If you don't have a copy of etags around, then do 'make lib-src' first."
-	$(RM) ${srcdir}/TAGS
+	-$(RM) ${srcdir}/TAGS
 	@PATH=`$(pwd)`/lib-src:$$PATH HOME=/-=-; export PATH HOME; \
 	  echo "Using etags from `which etags`."
 	PATH=`$(pwd)`/lib-src:$$PATH ; export PATH; cd ${srcdir} && \