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

John Firebaugh jfirebaugh at kde.org
Sun Mar 14 19:32:03 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      
jfirebaugh kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From jfirebaugh kde org  2004-03-14 19:30 -------
CVS commit by firebaugh: 

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

CCMAIL: 74570-done bugs kde org


  M +0 -10     customprojectpart.cpp   1.71


--- kdevelop/buildtools/custommakefiles/customprojectpart.cpp  #1.70:1.71
 @ -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