This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [RFA] Makefile.in (clean): rm -f $(DEPDIR)/*.


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> I don't disagree, but it seems like .deps should be cleared out with a
Doug> "make clean" regardless.  After a configure the build directory is
Doug> clean and .deps is empty (or doesn't exist).  For consistency sake, it
Doug> makes sense to have the same after a "make clean".

Yeah, I agree.  In Automake we had a set of rules: if "configure" made
it, "distclean" deletes it; if "make" made it, "clean" deletes it; and
if the maintainer made it, "maintainer-clean" deletes it.

I think I got a little confused here because (IIRC) Automake arranges
for configure to make initial .Po files.  But, that's because Automake
has to work in a much less friendly environment -- it is an
implementation detail.

I still think we want to also fix this in libcpp, though, because I
think it is reasonable to use this style of dependency management, to
rename a source file, and to expect a plain "make" to just work.

Tom


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