[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lib-src/Makefile.in gets circular dependency due to VPATH
From: |
Tim Van Holder |
Subject: |
Re: lib-src/Makefile.in gets circular dependency due to VPATH |
Date: |
24 Jan 2003 09:01:35 +0100 |
On Fri, 2003-01-24 at 06:43, Richard Stallman wrote:
> When (re)building emacs, GNU make now complains that it is dropping
> circular dependencies on the scripts (rcs2log, etc.).
>
> Aside from that diagnostic, does it do the right thing?
> Does it copy rcs2log, etc., into the build dir?
> In other words, is this a real problem or just a spurious warning?
No, the copies weren't done until after I removed the VPATH setting.
> would probably help if srcdir != builddir (so maybe these rules should
> be contionalized on that).
>
> Is there any way to test that condition?
> I don't see any macro that could be tested with #ifdef
> to detect this case.
True, but a system like automake's conditionals could be used if
necessary (substituting leading @foo@ on a line with '#' to comment the
line out). Of course, if VPATH isn't needed, removing that instead
would be a lot simpler and cleaner.
--
Tim Van Holder <address@hidden>
Anubex