<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] fix reldate.h make rules



On 2006-07-11 16:33:47 -0700, Brendan Cully wrote:
> In the changelog you'll see that I recently reverted a similar patch
> (one I had made).

In fact, there was no breakage. My patch was incorrect (I assumed
that reldate.h was in $top_srcdir).

> It seems on some systems, reldate.h is in $top_builddir and in
> others it is in $top_srcdir. I haven't yet figured out why (no mutt
> time this week).

I think the Makefile.am is incorrect:

BUILT_SOURCES = keymap_defs.h patchlist.c reldate.h
[...]
mutt_SOURCES = $(BUILT_SOURCES) \
        addrbook.c alias.c attach.c base64.c browser.c buffy.c color.c \
[...]

but the built sources should be in $top_builddir, not necessarily
in the same dir as the other sources (which may be in a read-only
directory).

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA