Commit 4fe5021c authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Add some hints to debian/rules.

Task-number: QTCREATORBUG-3661
parent 22a49fd4
......@@ -747,15 +747,12 @@ bool AbstractDebBasedQt4MaemoTarget::adaptRulesFile()
return false;
}
QByteArray rulesContents = rulesFile.readAll();
const QByteArray comment("# Uncomment this line for use without Qt Creator");
rulesContents.replace("DESTDIR", "INSTALL_ROOT");
rulesContents.replace("dh_shlibdeps", "# dh_shlibdeps");
// rulesContents.replace("$(MAKE) clean", "# $(MAKE) clean");
// const Qt4Project * const qt4Project
// = static_cast<const Qt4Project *>(project);
// const QString proFileName
// = QFileInfo(qt4Project->rootProjectNode()->path()).fileName();
// rulesContents.replace("# Add here commands to configure the package.",
// "qmake " + proFileName.toLocal8Bit());
rulesContents.replace("dh_shlibdeps", "# dh_shlibdeps " + comment);
rulesContents.replace("# Add here commands to configure the package.",
"# qmake PREFIX=/usr" + comment);
rulesContents.replace("$(MAKE)\n", "# $(MAKE) " + comment + '\n');
// Would be the right solution, but does not work (on Windows),
// because dpkg-genchanges doesn't know about it (and can't be told).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment