Do not {,un}install disabled targets
This commit is contained in:
parent
3d4c0c9336
commit
3e559dbfb3
@ -2250,6 +2250,7 @@ static int _install_targets(Makefile * makefile)
|
||||
continue;
|
||||
c = targets[i];
|
||||
targets[i] = '\0';
|
||||
if(_makefile_is_enabled(makefile, targets) != 0)
|
||||
ret |= _install_target(makefile, targets);
|
||||
if(c == '\0')
|
||||
break;
|
||||
@ -2704,6 +2705,7 @@ static int _write_uninstall(Makefile * makefile)
|
||||
continue;
|
||||
c = targets[i];
|
||||
targets[i] = '\0';
|
||||
if(_makefile_is_enabled(makefile, targets) != 0)
|
||||
ret = _uninstall_target(makefile, targets);
|
||||
if(c == '\0')
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user