diff options
-rw-r--r-- | admin/kde.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/kde.py b/admin/kde.py index 3914cc3..24bdd90 100644 --- a/admin/kde.py +++ b/admin/kde.py @@ -68,7 +68,7 @@ def detect_kde(env): datadir = getpath('datadir') libdir = getpath('libdir') - kdedir = getstr('kdedir') + tdedir = getstr('tdedir') kdeincludes = getpath('kdeincludes') tdelibs = getpath('tdelibs') @@ -84,17 +84,17 @@ def detect_kde(env): ## Detect the kde libraries print "Checking for kde-config : ", str="which kde-config 2>/dev/null" - if kdedir: str="which %s 2>/dev/null" % (kdedir+'/bin/kde-config') + if tdedir: str="which %s 2>/dev/null" % (tdedir+'/bin/kde-config') kde_config = os.popen(str).read().strip() if len(kde_config): p('GREEN', 'kde-config was found as '+kde_config) else: - if kdedir: p('RED','kde-config was NOT found in the folder given '+kdedir) + if tdedir: p('RED','kde-config was NOT found in the folder given '+tdedir) else: p('RED','kde-config was NOT found in your PATH') print "Make sure kde is installed properly" print "(missing package tdebase-devel?)" env.Exit(1) - if kdedir: env['TDEDIR']=kdedir + if tdedir: env['TDEDIR']=tdedir else: env['TDEDIR'] = os.popen(kde_config+' -prefix').read().strip() print "Checking for kde version : ", @@ -271,7 +271,7 @@ def generate(env): p('BOLD','* libdir ','install path for the libs, ie: /usr/lib') p('BOLD','* qtdir ','base of the kde libraries') - p('BOLD','* kdedir ','base of the qt libraries') + p('BOLD','* tdedir ','base of the qt libraries') p('BOLD','* libsuffix ','suffix of libraries on amd64, ie: 64, 32') p('BOLD','* kdeincludes','kde includes path (/usr/include/kde on debian, ..)') |