[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] build fails if builddir is not srcdir (diff included
Re: [bug-mailutils] build fails if builddir is not srcdir (diff included)
Sat, 19 Mar 2005 17:22:23 +0600
>>>>> "SP" == Sergey Poznyakoff <address@hidden> writes:
>> It's my mistake. Of course, it gets generated at /compile/ time.
>> Appropriate rule could be found in
SP> Nope, this rule works only if errno.h is absent or outdated. In
SP> normal distributions it's a no-op.
Why not to change rule as follows?
$(srcdir)/errno.h: $(top_srcdir)/mailbox/errors errno.hin
$(AWK) -f $(top_srcdir)/scripts/generr.awk $^ > $@
>> It was a CVS version, if that matters.
SP> Sure it does. The first make of CVS version must be performed in
SP> the source directory.
Why not to emphasize it in README-alpha?