diff --git a/makemake.py b/makemake.py index 2e2f2db..03e9213 100644 --- a/makemake.py +++ b/makemake.py @@ -299,7 +299,7 @@ # Build a recipy for $(_{dir}_BUILD)%%.py.bringup $(_{dir}_BUILD)%%.py.mk: $(_{dir})%%.py - ( cd $(_{dir}_DIR) && python3 $*.py --generic --dep $(__{dir}_BUILD)$*.py.mk ) ; \\ + ( cd $(_{dir}_DIR) && PYTHONPATH=$(_{dir}_DIR) python3 $*.py --generic --dep $(__{dir}_BUILD)$*.py.mk ) ; \\ if [ ! -f $@ ]; then echo "\\$$(_{dir}_BUILD)$*.py.bringup:; touch \\$$@" >$@; fi # Check Python and command line usage examples in .py files