Those given parameters are nonsense and noop. Just give DESTDIR to install() for correct installation into sandbox.
This commit is contained in:
@@ -1,10 +1,17 @@
|
|||||||
|
2010-03-08 Ozan Çağlayan <ozan@pardus.org.tr>
|
||||||
|
* pisi/actionsapi/cmaketools.py: Those given parameters are nonsense
|
||||||
|
and noop. Just give DESTDIR to install() for correct installation into
|
||||||
|
sandbox.
|
||||||
|
|
||||||
2010-03-03 Fatih Aşıcı <fatih@pardus.org.tr>
|
2010-03-03 Fatih Aşıcı <fatih@pardus.org.tr>
|
||||||
* pisi/operations/build.py: Fix concatenation error. This is a
|
* pisi/operations/build.py: Fix concatenation error. This is a
|
||||||
regression introduced when the support for Source/AdditionalFile
|
regression introduced when the support for Source/AdditionalFile
|
||||||
support is added.
|
support is added.
|
||||||
|
|
||||||
2010-03-01 Ozan Çağlayan <ozan@pardus.org.tr>
|
2010-03-01 Ozan Çağlayan <ozan@pardus.org.tr>
|
||||||
* pisi/: Use the constants from constants.py instead of hardcoding
|
* pisi/: Use the constants from constants.py instead of hardcoding
|
||||||
them.
|
them.
|
||||||
|
|
||||||
2010-02-28 Fatih Aşıcı <fatih@pardus.org.tr>
|
2010-02-28 Fatih Aşıcı <fatih@pardus.org.tr>
|
||||||
* pisi/atomicoperations.py: Check if the old and new paths
|
* pisi/atomicoperations.py: Check if the old and new paths
|
||||||
refer to the same file when relocating or cleaning up. Also
|
refer to the same file when relocating or cleaning up. Also
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2005 - 2007, TUBITAK/UEKAE
|
# Copyright (C) 2005-2010 TUBITAK/UEKAE
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify it under
|
# This program is free software; you can redistribute it and/or modify it under
|
||||||
# the terms of the GNU General Public License as published by the Free
|
# the terms of the GNU General Public License as published by the Free
|
||||||
@@ -88,22 +88,15 @@ def fixInfoDir():
|
|||||||
def install(parameters = '', argument = 'install'):
|
def install(parameters = '', argument = 'install'):
|
||||||
'''install source into install directory with given parameters'''
|
'''install source into install directory with given parameters'''
|
||||||
if can_access_file('makefile') or can_access_file('Makefile') or can_access_file('GNUmakefile'):
|
if can_access_file('makefile') or can_access_file('Makefile') or can_access_file('GNUmakefile'):
|
||||||
args = 'make prefix=%(prefix)s/%(defaultprefix)s \
|
# You can't squeeze unix paths with things like 'bindir', 'datadir', etc with CMake
|
||||||
datadir=%(prefix)s/%(data)s \
|
# http://public.kitware.com/pipermail/cmake/2006-August/010748.html
|
||||||
infodir=%(prefix)s/%(info)s \
|
args = 'make DESTDIR="%(destdir)s" \
|
||||||
localstatedir=%(prefix)s/%(localstate)s \
|
%(parameters)s \
|
||||||
mandir=%(prefix)s/%(man)s \
|
%(argument)s' % {
|
||||||
sysconfdir=%(prefix)s/%(conf)s \
|
'destdir' : get.installDIR(),
|
||||||
%(parameters)s \
|
'parameters' : parameters,
|
||||||
%(argument)s' % {'prefix': get.installDIR(),
|
'argument' : argument,
|
||||||
'defaultprefix': get.defaultprefixDIR(),
|
}
|
||||||
'man': get.manDIR(),
|
|
||||||
'info': get.infoDIR(),
|
|
||||||
'localstate': get.localstateDIR(),
|
|
||||||
'conf': get.confDIR(),
|
|
||||||
'data': get.dataDIR(),
|
|
||||||
'parameters': parameters,
|
|
||||||
'argument':argument}
|
|
||||||
|
|
||||||
if system(args):
|
if system(args):
|
||||||
raise InstallError(_('Install failed.'))
|
raise InstallError(_('Install failed.'))
|
||||||
|
|||||||
Reference in New Issue
Block a user