From 6311336261641a6abc7de3285011b93e0b8918cb Mon Sep 17 00:00:00 2001 From: "A. Murat Eren" Date: Sat, 16 Jul 2005 10:18:35 +0000 Subject: [PATCH] Buna bir el atmak lazim daha fazla paket yapmadan.. InstallWithHEDE seklinde devam etmek yerine bir dict ile filan parametre gonderecegimiz bir Install fonksiyonumuz olsun bence. Ne kadar erken duzenlersek actionsapi'yi o kadar az actions.py ile ugrasiriz daha sonra duzeltmek icin.. --- pisi/actionsapi/autotools.py | 10 ++++++++++ pisi/constants.py | 1 + 2 files changed, 11 insertions(+) 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.