mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for [Bug 203672] make: *** No rule to make target 'clean' for empty clean
This commit is contained in:
parent
c583e29d49
commit
0f05a323c3
1 changed files with 20 additions and 15 deletions
|
@ -1525,6 +1525,10 @@ public class CommonBuilder extends ACBuilder {
|
|||
performExternalClean(bInfo, false, monitor);
|
||||
} else {
|
||||
boolean programmatically = true;
|
||||
IPath path = ManagedBuildManager.getBuildFullPath(cfg, bInfo.getBuilder());
|
||||
IResource rc = path != null ? ResourcesPlugin.getWorkspace().getRoot().findMember(path) : null;
|
||||
|
||||
if(path == null || (rc != null && rc.getType() != IResource.FILE)){
|
||||
if(!cfg.getEditableBuilder().isInternalBuilder()){
|
||||
fBuildErrOccured = false;
|
||||
try {
|
||||
|
@ -1545,6 +1549,7 @@ public class CommonBuilder extends ACBuilder {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue