fixInfoDir needlessly always called, patch from Eren Türkay
This commit is contained in:
@@ -122,10 +122,11 @@ def install(parameters = '', argument = 'install'):
|
|||||||
|
|
||||||
if system(args):
|
if system(args):
|
||||||
raise InstallError(_('Install failed.'))
|
raise InstallError(_('Install failed.'))
|
||||||
|
else:
|
||||||
|
fixInfoDir()
|
||||||
else:
|
else:
|
||||||
raise InstallError(_('No Makefile found.'))
|
raise InstallError(_('No Makefile found.'))
|
||||||
|
|
||||||
fixInfoDir()
|
|
||||||
|
|
||||||
def rawInstall(parameters = '', argument = 'install'):
|
def rawInstall(parameters = '', argument = 'install'):
|
||||||
'''install source into install directory with given parameters = PREFIX=%s % get.installDIR()'''
|
'''install source into install directory with given parameters = PREFIX=%s % get.installDIR()'''
|
||||||
@@ -133,9 +134,9 @@ def rawInstall(parameters = '', argument = 'install'):
|
|||||||
if system('make %s %s' % (parameters, argument)):
|
if system('make %s %s' % (parameters, argument)):
|
||||||
raise InstallError(_('Install failed.'))
|
raise InstallError(_('Install failed.'))
|
||||||
else:
|
else:
|
||||||
raise InstallError(_('No Makefile found.'))
|
|
||||||
|
|
||||||
fixInfoDir()
|
fixInfoDir()
|
||||||
|
else:
|
||||||
|
raise InstallError(_('No Makefile found.'))
|
||||||
|
|
||||||
def aclocal(parameters = ''):
|
def aclocal(parameters = ''):
|
||||||
'''generates an aclocal.m4 based on the contents of configure.in.'''
|
'''generates an aclocal.m4 based on the contents of configure.in.'''
|
||||||
|
|||||||
@@ -99,9 +99,9 @@ def install(parameters = '', argument = 'install'):
|
|||||||
if system(args):
|
if system(args):
|
||||||
raise InstallError(_('Install failed.'))
|
raise InstallError(_('Install failed.'))
|
||||||
else:
|
else:
|
||||||
raise InstallError(_('No Makefile found.'))
|
|
||||||
|
|
||||||
fixInfoDir()
|
fixInfoDir()
|
||||||
|
else:
|
||||||
|
raise InstallError(_('No Makefile found.'))
|
||||||
|
|
||||||
def rawInstall(parameters = '', argument = 'install'):
|
def rawInstall(parameters = '', argument = 'install'):
|
||||||
'''install source into install directory with given parameters = PREFIX=%s % get.installDIR()'''
|
'''install source into install directory with given parameters = PREFIX=%s % get.installDIR()'''
|
||||||
@@ -109,6 +109,6 @@ def rawInstall(parameters = '', argument = 'install'):
|
|||||||
if system('make %s %s' % (parameters, argument)):
|
if system('make %s %s' % (parameters, argument)):
|
||||||
raise InstallError(_('Install failed.'))
|
raise InstallError(_('Install failed.'))
|
||||||
else:
|
else:
|
||||||
raise InstallError(_('No Makefile found.'))
|
|
||||||
|
|
||||||
fixInfoDir()
|
fixInfoDir()
|
||||||
|
else:
|
||||||
|
raise InstallError(_('No Makefile found.'))
|
||||||
|
|||||||
Reference in New Issue
Block a user