Provide a default libexec directory

This commit is contained in:
İsmail Dönmez
2007-12-14 20:43:16 +00:00
parent f35c91a0f3
commit 727ec76c1b
3 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -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.'))
+3
View File
@@ -134,6 +134,9 @@ def confDIR():
def localstateDIR():
return dirs.localstate
def libexecDIR():
return dirs.libexec
def defaultprefixDIR():
return dirs.defaultprefix
+1
View File
@@ -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