summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kdedistutils.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kdedistutils.py b/src/kdedistutils.py
index 4aa6383..ceaa499 100644
--- a/src/kdedistutils.py
+++ b/src/kdedistutils.py
@@ -551,8 +551,8 @@ class BuildKControlModule(Command):
if tdedir!=None:
canidatepaths.append(os.path.join(tdedir,"include"))
canidatepaths.append(os.path.join(install.prefix,"include"))
- canidatepaths.append('/opt/trinity/include')
- canidatepaths.append('/opt/kde/include')
+ canidatepaths.append(os.path.join(self.install_prefix,'include'))
+ canidatepaths.append(os.path.join(self.install_prefix,'include','tde'))
self.kde_inc_dir = FindFileInPaths('tdeapplication.h',canidatepaths)
if self.kde_inc_dir is None:
raise SystemExit, "Failed to find the KDE header file directory."
@@ -1503,8 +1503,8 @@ class BuildTdeioslave(Command):
if tdedir!=None:
canidatepaths.append(os.path.join(tdedir,"include"))
canidatepaths.append(os.path.join(install.prefix,"include"))
- canidatepaths.append('/opt/trinity/include')
- canidatepaths.append('/opt/kde/include')
+ canidatepaths.append(os.path.join(self.install_prefix,'include'))
+ canidatepaths.append(os.path.join(self.install_prefix,'include','tde'))
self.kde_inc_dir = FindFileInPaths('tdeapplication.h',canidatepaths)
if self.kde_inc_dir is None:
raise SystemExit, "Failed to find the KDE header file directory."