From edae246dc73fd1a4d239d330cda804f7c8dc32bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 18 Jan 2014 16:54:23 +0100 Subject: Remove hardcoded 'include' directory locations --- src/kdedistutils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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." -- cgit v1.2.1