Rename include subdirectory to tde

pull/1/head
Timothy Pearson 12 years ago
parent dc443b2b65
commit 3b2845b322

@ -6,7 +6,7 @@ KDELIB=$$system(kde-config --expandvars --install lib)
KDEBIN=$$system(kde-config --expandvars --install exe)
KDEAPPS=$$system(kde-config --expandvars --install apps)
KDEPREFIX=$$system(kde-config --prefix)
KDEINCLUDE=$$KDEPREFIX/include/kde $$KDEPREFIX/include
KDEINCLUDE=$$KDEPREFIX/include/tde $$KDEPREFIX/include
TEMPLATE = app

@ -57,9 +57,9 @@ before running "scons" and "scons install"
Here are some examples :
On Fedora/Redhat
$ scons configure kdeincludes=/usr/include/kde/
$ scons configure kdeincludes=/usr/include/tde/
On Debian
$ scons configure qtincludes=/usr/include/qt/ kdeinclude=/usr/include/kde/
$ scons configure qtincludes=/usr/include/qt/ kdeinclude=/usr/include/tde/
To install in some particular location with additional include paths
$ scons configure prefix=~/tmp extraincludes=/tmp/include:/usr/local/include
For AMD64 and platforms where folders are like /usr/lib64

@ -57,9 +57,9 @@ before running "scons" and "scons install"
Here are some examples :
On Fedora/Redhat
$ scons configure kdeincludes=/usr/include/kde/
$ scons configure kdeincludes=/usr/include/tde/
On Debian
$ scons configure qtincludes=/usr/include/qt/ kdeinclude=/usr/include/kde/
$ scons configure qtincludes=/usr/include/qt/ kdeinclude=/usr/include/tde/
To install in some particular location with additional include paths
$ scons configure prefix=~/tmp extraincludes=/tmp/include:/usr/local/include
For AMD64 and platforms where folders are like /usr/lib64

@ -550,7 +550,7 @@ void IncludePathResolver::setOutOfSourceBuildSystem( const TQString& source, con
#ifdef TEST
/** This can be used for testing and debugging the system. To compile it use
* gcc includepathresolver.cpp -I /usr/share/qt3/include -I /usr/include/kde -I ../../lib/util -DTEST -ltdecore -g -o includepathresolver
* gcc includepathresolver.cpp -I /usr/share/qt3/include -I /usr/include/tde -I ../../lib/util -DTEST -ltdecore -g -o includepathresolver
* */
int main(int argc, char **argv) {

@ -140,10 +140,10 @@ def detect_kde(env):
if os.path.isfile(kdeincludes + "/klineedit.h"):
print GREEN + "ok " + kdeincludes + NORMAL
else:
if os.path.isfile(kdeprefix+"/include/kde/klineedit.h"):
if os.path.isfile(kdeprefix+"/include/tde/klineedit.h"):
# Debian, Fedora probably
print YELLOW + "the kde headers were found in " + kdeprefix + "/include/kde/" + NORMAL
kdeincludes = kdeprefix + "/include/kde/"
print YELLOW + "the kde headers were found in " + kdeprefix + "/include/tde/" + NORMAL
kdeincludes = kdeprefix + "/include/tde/"
else:
print RED + "The kde includes were NOT found" + NORMAL
env.Exit(1)
@ -214,7 +214,7 @@ def generate(env):
"""+BOLD+"""* datadir """+NORMAL+""": install path for the data, ie: /usr/local/share
"""+BOLD+"""* libdir """+NORMAL+""": install path for the libs, ie: /usr/lib
"""+BOLD+"""* libsuffix """+NORMAL+""": suffix of libraries on amd64, ie: 64, 32
"""+BOLD+"""* kdeincludes"""+NORMAL+""": path to the kde includes (/usr/include/kde on debian, ...)
"""+BOLD+"""* kdeincludes"""+NORMAL+""": path to the kde includes (/usr/include/tde on debian, ...)
"""+BOLD+"""* qtincludes """+NORMAL+""": same punishment, for qt includes (/usr/include/qt on debian, ...)
"""+BOLD+"""* tdelibs """+NORMAL+""": path to the kde libs, for linking the programs
"""+BOLD+"""* qtlibs """+NORMAL+""": same punishment, for qt libraries

Loading…
Cancel
Save