This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[rfa/binutils] distclean .cvsignore?
- From: Andrew Cagney <cagney at gnu dot org>
- To: binutils at sources dot redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 28 Feb 2004 12:55:52 -0500
- Subject: [rfa/binutils] distclean .cvsignore?
- Reply-to: binutils at sources dot redhat dot com
[reply to set to binutils@]
Hello,
This patch modifies bfd/ and opcodes/ so that the .cvsignore files are
removed when doing a distclean. The name is not dos friendly so
shouldn't be included in GDB's distro.
ok?
Andrew
PS: Note that bfd/Makefile.in most recent re-generate was not with a
stock 000227 automake. Someone may want to investigate this - I side
stepped the problem.
Index: bfd/ChangeLog
2004-02-28 Andrew Cagney <cagney@redhat.com>
* Makefile.am (DISTCLEANFILES): Add po/.cvsignore.
* Makefile.in: Update.
Index: opcodes/ChangeLog
2004-02-28 Andrew Cagney <cagney@redhat.com>
* Makefile.am (DISTCLEANFILES): Set to po/.cvsignore.
* Makefile.in: Re-generate.
Index: bfd/Makefile.am
===================================================================
RCS file: /cvs/src/src/bfd/Makefile.am,v
retrieving revision 1.127
diff -u -r1.127 Makefile.am
--- bfd/Makefile.am 2 Dec 2003 08:14:33 -0000 1.127
+++ bfd/Makefile.am 28 Feb 2004 17:48:10 -0000
@@ -854,7 +854,7 @@
CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \
stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
-DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES)
+DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES) po/.cvsignore
# We want to rerun configure if config.bfd, configure.host or version.h change.
config.status: $(srcdir)/configure $(srcdir)/config.bfd \
Index: bfd/Makefile.in
===================================================================
RCS file: /cvs/src/src/bfd/Makefile.in,v
retrieving revision 1.140
diff -u -r1.140 Makefile.in
--- bfd/Makefile.in 2 Dec 2003 08:14:33 -0000 1.140
+++ bfd/Makefile.in 28 Feb 2004 17:48:11 -0000
@@ -779,7 +779,7 @@
stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
-DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES)
+DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES) po/.cvsignore
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
CONFIG_HEADER = config.h
Index: opcodes/Makefile.am
===================================================================
RCS file: /cvs/src/src/opcodes/Makefile.am,v
retrieving revision 1.73
diff -u -r1.73 Makefile.am
--- opcodes/Makefile.am 7 Jan 2004 18:39:40 -0000 1.73
+++ opcodes/Makefile.am 28 Feb 2004 17:48:34 -0000
@@ -349,6 +349,7 @@
stamp-iq2000 stamp-xstormy16 \
libopcodes.a stamp-lib dep.sed DEP DEPA DEP1 DEP2
+DISTCLEANFILES = po/.cvsignore
CGENDIR = @cgendir@
CPUDIR = $(CGENDIR)/cpu
Index: opcodes/Makefile.in
===================================================================
RCS file: /cvs/src/src/opcodes/Makefile.in,v
retrieving revision 1.82
diff -u -r1.82 Makefile.in
--- opcodes/Makefile.in 7 Jan 2004 18:39:40 -0000 1.82
+++ opcodes/Makefile.in 28 Feb 2004 17:48:34 -0000
@@ -417,6 +417,8 @@
libopcodes.a stamp-lib dep.sed DEP DEPA DEP1 DEP2
+DISTCLEANFILES = po/.cvsignore
+
CGENDIR = @cgendir@
CPUDIR = $(CGENDIR)/cpu
CGEN = `if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi`
@@ -774,6 +776,7 @@
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
+ -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
mostlyclean-am: mostlyclean-hdr mostlyclean-noinstLIBRARIES \