This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[5.1] Don't delete bfd/po/{BLD,SRC}-POTFILES.in
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 18 Nov 2001 14:03:55 -0500
- Subject: [5.1] Don't delete bfd/po/{BLD,SRC}-POTFILES.in
Hello,
I'm committing the attached to the 5.1 branch. It hacks around a problem
in the BFD distclean command which would delete a file it probably
shouldn't. I've reported the problem to BFD.
Andrew
2001-11-18 Andrew Cagney <ac131313@redhat.com>
* po/Make-in (distclean): Don't delete SRC-POTFILES.in or
BLD-POTFILES.in. Work around bug in BFD's distclean.
Index: po/Make-in
===================================================================
RCS file: /cvs/src/src/bfd/po/Make-in,v
retrieving revision 1.3
diff -p -r1.3 Make-in
*** Make-in 2001/06/10 05:21:00 1.3
--- Make-in 2001/11/18 18:57:14
*************** mostlyclean:
*** 203,211 ****
clean: mostlyclean
distclean: clean
rm -f Makefile Makefile.in *.mo *.msg *.cat *.cat.m
! rm -f SRC-POTFILES BLD-POTFILES SRC-POTFILES.in BLD-POTFILES.in
maintainer-clean: distclean
@echo "This command is intended for maintainers to use;"
--- 203,217 ----
clean: mostlyclean
+ # FIXME: cagney/2001-11-18: When configuring / building in the source
+ # directory, the rule below would delete SRC-POTFILES.in and
+ # BLD-POTFILES.in from that source directory. While a make rebuilds
+ # these files it also puts them in the source directory and that can
+ # be read-only.
+
distclean: clean
rm -f Makefile Makefile.in *.mo *.msg *.cat *.cat.m
! rm -f SRC-POTFILES BLD-POTFILES
maintainer-clean: distclean
@echo "This command is intended for maintainers to use;"