[Swan-dev] Bison rule

Andrew Cagney andrew.cagney at gmail.com
Tue Aug 4 20:49:16 EEST 2015


On 3 August 2015 at 15:55, D. Hugh Redelmeier <hugh at mimosa.com> wrote:
> I just poked at the Bison rule in out lib/libipsecconf/Makefile
>
> I hope that the plan9 filesystem problem that Antony encountered
> remains fixed.  Instead of a cat, I used a mv.
>
> I noticed that $(builddir) is . when this rule fired.  Is this always
> going to be the case?  If so, the recipe can be simplified further.

No.  In fact the reverse - $(srcdir) = 1 - will hopefully be true
everywhere.  (mk/library.mk still contains a hack to somewhat preserve
old behaviour).

Should the TMP file be removed in the parser-clean rule?

Andrew


More information about the Swan-dev mailing list