Made python tools non-executable.

This enforces needing to call them explicitly with the interpreter.
This commit is contained in:
Filipe Rodrigues 2023-06-18 19:00:24 +01:00
parent d6cfd2963a
commit 17640c3c04
9 changed files with 17 additions and 10 deletions

0
tools/generate_compare_deps.py Executable file → Normal file
View File

0
tools/generate_psx_iso_deps.py Executable file → Normal file
View File

0
tools/ld_from_yaml.py Executable file → Normal file
View File

0
tools/ld_from_yaml_deps.py Executable file → Normal file
View File

0
tools/mkpsexe_from_yaml.py Executable file → Normal file
View File

0
tools/mkpsexe_from_yaml_deps.py Executable file → Normal file
View File

0
tools/mkraw_exe_from_yaml.py Executable file → Normal file
View File

0
tools/mkraw_exe_from_yaml_deps.py Executable file → Normal file
View File

View File

@ -15,7 +15,7 @@ alias:
cp : cp # cp (GNU coreutils) 9.3
touch : touch # touch (GNU coreutils) 9.3
truncate : truncate # truncate (GNU coreutils) 9.3
python3 : python3 # Python 3.11.3
# Other tools
generate_psx_iso_deps : tools/generate_psx_iso_deps.py
@ -24,8 +24,8 @@ alias:
mkpsexe_from_yaml_deps : tools/mkpsexe_from_yaml_deps.py
mkraw_exe_from_yaml : tools/mkraw_exe_from_yaml.py
mkraw_exe_from_yaml_deps: tools/mkraw_exe_from_yaml_deps.py
ld_from_yaml_deps : tools/ld_from_yaml_deps.py
ld_from_yaml : tools/ld_from_yaml.py
ld_from_yaml_deps : tools/ld_from_yaml_deps.py
# Cargo tools
mkpsexe : $(build_rust_tool_dir)/ddw3-mkpsexe
@ -112,7 +112,7 @@ rules:
- static: $(compare_deps::dir_name)/
exec:
- [$(bash), -c, '$(generate_compare_deps) > $(compare_deps)']
- [$(bash), -c, '$(python3) $(generate_compare_deps) > $(compare_deps)']
# Clean
clean:
@ -154,7 +154,8 @@ rules:
out: [$(psx_iso_deps)]
deps: [$(psx_iso_xml), static: $(psx_iso_deps::dir_name)/]
exec:
- - $(generate_psx_iso_deps)
- - $(python3)
- $(generate_psx_iso_deps)
- --iso
- $(psx_iso)
- --xml
@ -200,7 +201,8 @@ rules:
- deps_file: $(psexe_deps)
- static: $(psexe::dir_name)/
exec:
- - $(mkpsexe_from_yaml)
- - $(python3)
- $(mkpsexe_from_yaml)
- $(psexe_yaml)
- -o
- $(psexe)
@ -215,7 +217,8 @@ rules:
- $(mkpsexe_from_yaml_deps)
- static: $(psexe_deps::dir_name)/
exec:
- - $(mkpsexe_from_yaml_deps)
- - $(python3)
- $(mkpsexe_from_yaml_deps)
- $(psexe_yaml)
- -o
- $(psexe)
@ -232,7 +235,8 @@ rules:
- deps_file: $(raw_exe_deps)
- static: $(raw_exe::dir_name)/
exec:
- - $(mkraw_exe_from_yaml)
- - $(python3)
- $(mkraw_exe_from_yaml)
- $(raw_exe_yaml)
- -o
- $(raw_exe)
@ -247,7 +251,8 @@ rules:
- $(mkraw_exe_from_yaml_deps)
- static: $(raw_exe_deps::dir_name)/
exec:
- - $(mkraw_exe_from_yaml_deps)
- - $(python3)
- $(mkraw_exe_from_yaml_deps)
- $(raw_exe_yaml)
- -o
- $(raw_exe)
@ -263,7 +268,8 @@ rules:
- deps_file: $(elf_deps)
- static: $(elf::dir_name)/
exec:
- - $(ld_from_yaml)
- - $(python3)
- $(ld_from_yaml)
- $(elf_yaml)
- -o
- $(elf)
@ -280,7 +286,8 @@ rules:
- $(ld_from_yaml_deps)
- static: $(elf_deps::dir_name)/
exec:
- - $(ld_from_yaml_deps)
- - $(python3)
- $(ld_from_yaml_deps)
- $(elf_yaml)
- -o
- $(elf)