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..
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# *-* coding: utf-8 *-*
|
||||
# PISI constants.
|
||||
# If you have a "magic" constant value this is where it should be
|
||||
# defined.
|
||||
|
||||
Reference in New Issue
Block a user