summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-01-18 16:54:23 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-18 16:54:23 +0100
commitedae246dc73fd1a4d239d330cda804f7c8dc32bc (patch)
treede659467444e2e6059638b418606f0115507a55e /src
parent6d061b325b08a6e7638911054c85b8bf1f95ec88 (diff)
downloadpytdeextensions-edae246dc73fd1a4d239d330cda804f7c8dc32bc.tar.gz
pytdeextensions-edae246dc73fd1a4d239d330cda804f7c8dc32bc.zip
Remove hardcoded 'include' directory locations
Diffstat (limited to 'src')
-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."