Mercurial > gub
changeset 966:92147cb2458f
Lilypond.configure -> Lilypond.do_configure. Only (re)configure if necessary.
author | hanwen <hanwen@xs4all.nl> |
---|---|
date | Thu, 12 Jan 2006 17:53:06 +0100 |
parents | d7425951e6d9 |
children | 5479d0d9daba |
files | specs/framework.py |
diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/specs/framework.py Thu Jan 12 17:52:39 2006 +0100 +++ b/specs/framework.py Thu Jan 12 17:53:06 2006 +0100 @@ -328,6 +328,8 @@ def configure (self): self.autoupdate () + + def do_configure (self): targetpackage.Target_package.configure (self) # FIXME: shared for all CVS packages @@ -389,7 +391,7 @@ self.system (''' cd %(autodir)s && bash autogen.sh --noconfigure ''', locals ()) - + self.do_configure () class LilyPond__mingw (LilyPond): def __init__ (self, settings): @@ -405,8 +407,8 @@ self.file_sub ([('THIS', 'SELF')], '%(srcdir)s/lily/parser.yy') - def configure (self): - LilyPond.configure (self) + def do_configure (self): + LilyPond.do_configure (self) self.config_cache () cmd = self.configure_command () \ + ' --enable-config=console' @@ -591,8 +593,8 @@ return cmd - def configure (self): - LilyPond.configure (self) + def do_configure (self): + LilyPond.do_configure (self) make = self.expand ('%(builddir)s/config.make')