This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: testsuite Makefile runs "rm -f".


The following patch prevents rm(1) from issuing a diagnostic that I
noticed when running make -s clean.  Since rm needs at least one
filename, this should either be removed or guarded by test -n
$(MISCELLANEOUS).

Okay to commit?

2004-01-16  Ben Elliston  <bje@wasabisystems.com>

	* gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
	(clean mostlyclean): Remove empty rm.

Index: gdb.arch/Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.arch/Makefile.in,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile.in
--- gdb.arch/Makefile.in	9 Jan 2003 18:50:22 -0000	1.2
+++ gdb.arch/Makefile.in	15 Jan 2004 20:51:46 -0000
@@ -3,15 +3,12 @@ srcdir = @srcdir@
 
 EXECUTABLES = altivec-abi altivec-regs
 
-MISCELLANEOUS =
-
 all info install-info dvi install uninstall installcheck check:
 	@echo "Nothing to be done for $@..."
 
 clean mostlyclean:
 	-rm -f *~ *.o a.out *.x *.ci *.tmp
 	-rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES)
-	-rm -f $(MISCELLANEOUS)
 
 distclean maintainer-clean realclean: clean
 	-rm -f *~ core


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]