[Bug 74570] Custom makefiles project doesn't support "GNUmakefile" file name

Jens Dagerbo jens.dagerbo at swipnet.se
Mon Mar 29 20:15:09 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=74570      




------- Additional Comments From jens.dagerbo swipnet se  2004-03-29 20:20 -------
CVS commit by dagerbo: 

Don't try to outguess make, it will produce a fine error message if no makefile is found.

CCMAIL: 74570 bugs kde org


  M +0 -10     customprojectpart.cpp   1.68.2.2


--- kdevelop/buildtools/custommakefiles/customprojectpart.cpp  #1.68.2.1:1.68.2.2
 @ -503,14 +503,4  @ void CustomProjectPart::startMakeCommand
     bool ant = DomUtil::readEntry(dom, "/kdevcustomproject/build/buildtool") == "ant";
 
-    if (!ant) {
-        QFileInfo fi(dir + "/Makefile");
-        QFileInfo fi2(dir + "/makefile");
-        if (!fi.exists() && !fi2.exists()) {
-            KMessageBox::information(mainWindow()->main(),
-                                     i18n("There is no Makefile in this directory."));
-            return;
-        }
-    }
-
     QString cmdline;
     if (ant) {




More information about the KDevelop-devel mailing list