LGTM, thanks.
On Mon, Oct 7, 2013 at 4:37 PM, Jose A. Lopes <[email protected]> wrote: > Update target 'src/Ganeti/ListContants.hs' to disregard comments in > 'src.Ganeti.HsContants' when extracting the names of the constants > that need to be generated from Haskell to Python. > > Signed-off-by: Jose A. Lopes <[email protected]> > --- > Makefile.am | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Makefile.am b/Makefile.am > index bd6872e..32dcdcf 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -1744,8 +1744,8 @@ src/Ganeti/Hs2Py/ListConstants.hs: src/Ganeti/Hs2Py/ > ListConstants.hs.in \ > ## adminstDown = ... > ## becomes > ## 'adminstDown > - NAMES=$$(sed -n -e "/=/ s/\(.*\) =.*/ '\1:/g p" \ > - $(abs_top_srcdir)/src/Ganeti/HsConstants.hs); \ > + NAMES=$$(sed -e "/^--/ d" > $(abs_top_srcdir)/src/Ganeti/HsConstants.hs |\ > + sed -n -e "/=/ s/\(.*\) =.*/ '\1:/g p"); \ > m4 -DPY_CONSTANT_NAMES="$$NAMES" $(abs_top_srcdir)/$< > $@ > > src/Ganeti/PyConstants.hs: src/Ganeti/PyConstants.hs.in \ > -- > 1.8.4 > > -- Thomas Thrainer | Software Engineer | [email protected] | Google Germany GmbH Dienerstr. 12 80331 München Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschäftsführer: Graham Law, Christine Elizabeth Flores
