Maemo: Don't monopolize the debian directory.

Using a debian directory in the project root directory might interfere
with non-MADDE configurations.
We therefore introduce an extra directory qtc_packaging, where we can
safely put our stuff. In the future, this should also contain
non-Fremantle (and possibly non-Debian) configurations.

Reviewed-by: Oswald Buddenhagen
This commit is contained in:
Christian Kandeler
2010-10-18 17:45:39 +02:00
parent 1b7a2dfe17
commit 9137c376e0
3 changed files with 49 additions and 9 deletions

View File

@@ -81,6 +81,7 @@ public:
static QString packageName(const ProjectExplorer::Project *project);
static QString packageFileName(const ProjectExplorer::Project *project,
const QString &version);
static bool removeDirectory(const QString &dirPath);
static const QLatin1String DefaultVersionNumber;
@@ -105,8 +106,7 @@ private:
virtual bool fromMap(const QVariantMap &map);
bool createPackage(QProcess *buildProc);
bool copyDebianFiles();
bool removeDirectory(const QString &dirPath);
bool copyDebianFiles(bool inSourceBuild);
bool runCommand(QProcess *buildProc, const QString &command);
QString maddeRoot() const;
QString targetRoot() const;