[Swan-dev] Bison rule

Antony Antony antony at phenome.org
Tue Aug 4 08:15:29 EEST 2015


On Mon, Aug 03, 2015 at 03:55:23PM -0400, D. Hugh Redelmeier 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.

yes. Thanks Paul & Hugh.
-antony
 
> 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.
> 
> 
> | New commits:
> | commit 2dd6dcc0b58cba26828caed3eb84016038ce8131
> | Author: D. Hugh Redelmeier <hugh at mimosa.com>
> | Date:   Mon Aug 3 15:38:36 2015 -0400
> | 
> |     libipsecconf makefile: simplify Bison rule and make it more robust
> |     
> |     - the rule previously assumed that the grammar was parser.y.  Now it
> |       supports anything matched by the pattern
> |     
> |     - two sed commands combined into one
> |     
> |     - g flag removed from sed s subcommands
> |     
> |     - sed command now only applies to lines that start with #
> |     
> |     - comments improved
> |     
> |     - the recipe uses a single cd command
> _______________________________________________
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan-dev
> 


More information about the Swan-dev mailing list