diff --git a/pisi/actionsapi/autotools.py b/pisi/actionsapi/autotools.py index b0f9c577..3f29963e 100644 --- a/pisi/actionsapi/autotools.py +++ b/pisi/actionsapi/autotools.py @@ -93,3 +93,13 @@ def installWithBasedir(): install_string = 'make BASEDIR=%s install' % dir_suffix os.system(install_string) + +def installWithInstallRootdir(): + dirs = glb.dirs + + dir_suffix = os.path.dirname(os.path.dirname(os.getcwd())) + \ + glb.const.install_dir_suffix + + install_string = 'make INSTALL_ROOT=%s install' % dir_suffix + + os.system(install_string) diff --git a/pisi/constants.py b/pisi/constants.py index e4ceb1c0..909b9aa6 100644 --- a/pisi/constants.py +++ b/pisi/constants.py @@ -1,3 +1,4 @@ +# *-* coding: utf-8 *-*  # PISI constants. # If you have a "magic" constant value this is where it should be # defined.