[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dependency problem?

From: Larry Jones
Subject: Re: Dependency problem?
Date: Fri, 11 Jul 2003 14:27:54 -0400 (EDT)

Andrew Moise writes:
>   So I just noticed that when I apply the context-diff patch that I sent
> to the list a couple of days ago (which changes a handful of files in
> diff/), the cvs binary isn't rebuilt until I do 'make clean' or 
> 'rm src/cvs'.  Changing a file in src/ (commit.c, at least) _does_
> result in the executable being rebuilt, of course.

It's always worked fine for me -- are you sure you were running make in
the top-level directory rather than in the src subdirectory?  The
Makefile in the src directory should define a cvs_DEPENDENCIES variable
that includes the ancillary libraries (including the diff library) which
is then referenced as a dependency for cvs$(EXEEXT), so the binary
should be rebuilt if it's older than the diff library.

>   (BTW, I can't help but notice the silence which greeted my earlier
> mail... this is the right list to send patches to, no?  Or was that patch
> so offensive that no one felt the need to comment on it? :-)

Right place, but the diff code is imported from GNU diff, so we usually
avoid touching it (or even understanding it).  Hopefully, the GNU diff
maintainer (who is known to hang around here) will eventually get around
to looking at it and have some words of wisdom for us.

-Larry Jones

We don't ATTEND parties, we just CRASH 'em. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]