parent
da616f69ea
commit
b0a25cdbc9
1 changed files with 2 additions and 1 deletions
|
@ -175,6 +175,7 @@ def main(argv=None):
|
|||
if makefile is None and directory is None:
|
||||
makefile_names = ["GNUmakefile", "makefile", "Makefile"]
|
||||
makefile = find_makefile_upward(working_dir, makefile_names)
|
||||
if makefile:
|
||||
directory = os.path.dirname(makefile)
|
||||
if directory or makefile:
|
||||
call_makefile(directory, makefile, args)
|
||||
|
|
Loading…
Reference in a new issue