forked from qt-creator/qt-creator
Maemo: Partly revert 8fe7ac8940.
This is needed for sourve packages, but interferes with binary ones.
This commit is contained in:
@@ -204,13 +204,13 @@ bool MaemoTemplatesManager::adaptRulesFile(const Project *project)
|
|||||||
rulesContents.replace("DESTDIR", "INSTALL_ROOT");
|
rulesContents.replace("DESTDIR", "INSTALL_ROOT");
|
||||||
rulesContents.replace("dh_shlibdeps", "# dh_shlibdeps");
|
rulesContents.replace("dh_shlibdeps", "# dh_shlibdeps");
|
||||||
rulesContents.replace("dh_strip", "# dh_strip");
|
rulesContents.replace("dh_strip", "# dh_strip");
|
||||||
rulesContents.replace("$(MAKE) clean", "# $(MAKE) clean");
|
// rulesContents.replace("$(MAKE) clean", "# $(MAKE) clean");
|
||||||
const Qt4Project * const qt4Project
|
// const Qt4Project * const qt4Project
|
||||||
= static_cast<const Qt4Project *>(project);
|
// = static_cast<const Qt4Project *>(project);
|
||||||
const QString proFileName
|
// const QString proFileName
|
||||||
= QFileInfo(qt4Project->rootProjectNode()->path()).fileName();
|
// = QFileInfo(qt4Project->rootProjectNode()->path()).fileName();
|
||||||
rulesContents.replace("# Add here commands to configure the package.",
|
// rulesContents.replace("# Add here commands to configure the package.",
|
||||||
"qmake " + proFileName.toLocal8Bit());
|
// "qmake " + proFileName.toLocal8Bit());
|
||||||
|
|
||||||
// Would be the right solution, but does not work (on Windows),
|
// Would be the right solution, but does not work (on Windows),
|
||||||
// because dpkg-genchanges doesn't know about it (and can't be told).
|
// because dpkg-genchanges doesn't know about it (and can't be told).
|
||||||
|
|||||||
Reference in New Issue
Block a user