From 727ec76c1bf3a5f23f93bb41a0adf1dadbc47009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20D=C3=B6nmez?= Date: Fri, 14 Dec 2007 20:43:16 +0000 Subject: [PATCH] Provide a default libexec directory --- pisi/actionsapi/autotools.py | 3 ++- pisi/actionsapi/get.py | 3 +++ pisi/actionsapi/variables.py | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pisi/actionsapi/autotools.py b/pisi/actionsapi/autotools.py index 8fe15589..91964314 100644 --- a/pisi/actionsapi/autotools.py +++ b/pisi/actionsapi/autotools.py @@ -66,10 +66,11 @@ def configure(parameters = ''): --datadir=/%s \ --sysconfdir=/%s \ --localstatedir=/%s \ + --libexecdir=/%s \ %s' % (get.defaultprefixDIR(), \ get.HOST(), get.manDIR(), \ get.infoDIR(), get.dataDIR(), \ - get.confDIR(), get.localstateDIR(), parameters) + get.confDIR(), get.localstateDIR(), get.libexecDIR(), parameters) if system(args): raise ConfigureError(_('Configure failed.')) diff --git a/pisi/actionsapi/get.py b/pisi/actionsapi/get.py index a9c1fb18..aab8ddc5 100644 --- a/pisi/actionsapi/get.py +++ b/pisi/actionsapi/get.py @@ -134,6 +134,9 @@ def confDIR(): def localstateDIR(): return dirs.localstate +def libexecDIR(): + return dirs.libexec + def defaultprefixDIR(): return dirs.defaultprefix diff --git a/pisi/actionsapi/variables.py b/pisi/actionsapi/variables.py index 1a66210d..1e88b74c 100644 --- a/pisi/actionsapi/variables.py +++ b/pisi/actionsapi/variables.py @@ -75,6 +75,7 @@ class Dirs: data = 'usr/share' conf = 'etc' localstate = 'var/lib' + libexec = 'usr/libexec' defaultprefix = 'usr' # These should be owned by object not the class. Or else Python