allow phony targets in conjunction with a build root
This commit is contained in:
1 parent
bab4641b6e
commit
0442b876a5
2 files changed
+30
-23
No files matched your search
@@ -509,7 +509,11 @@ module Rscons
|
||||
#
|
||||
# @return [String] The expanded path.
|
||||
def expand_path(path)
|
||||
path.sub(%r{^\^(?=[\\/])}, @build_root)
|
||||
if Rscons.phony_target?(path)
|
||||
path
|
||||
else
|
||||
path.sub(%r{^\^(?=[\\/])}, @build_root)
|
||||
end
|
||||
end
|
||||
|
||||
# Execute a command using the system shell.
|
||||
|
||||
Reference in new issue
Block a user