pisi/actionsapi/cmaketools.py: If both -v and -d parameters are
+ given, pass VERBOSE=1 parameter to make command. This results printing
commands in make to the screen in addition to the colorful cmake progress lines.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-01-09 Gökçen Eraslan <gokcen@pardus.org.tr>
|
||||
* pisi/actionsapi/cmaketools.py: If both -v and -d parameters are
|
||||
given, pass VERBOSE=1 parameter to make command. This results printing
|
||||
commands in make to the screen in addition to the colorful cmake progress lines.
|
||||
|
||||
2009-01-07 Faik Uygur <faik@pardus.org.tr>
|
||||
* pisi-2.1.1
|
||||
|
||||
|
||||
@@ -70,7 +70,12 @@ def configure(parameters = '', installPrefix = '/%s' % get.defaultprefixDIR(), s
|
||||
def make(parameters = ''):
|
||||
'''build source with given parameters'''
|
||||
if can_access_file('Makefile'):
|
||||
if system('make %s %s' % (get.makeJOBS(), parameters)):
|
||||
if ctx.config.get_option("verbose") and ctx.config.get_option("debug"):
|
||||
command = 'make VERBOSE=1 %s %s' % (get.makeJOBS(), parameters)
|
||||
else:
|
||||
command = 'make %s %s' % (get.makeJOBS(), parameters)
|
||||
|
||||
if system(command):
|
||||
raise MakeError(_('Make failed.'))
|
||||
else:
|
||||
raise InstallError(_('No Makefile found.'))
|
||||
|
||||
Reference in New Issue
Block a user