On Mon, Nov 29, 2021 at 09:51:29AM +0100, Omar Polo wrote: > make update-patches still picks it up after `make build' for me, I guess > it can't be worked around since it's done in pre-configure.
python-module(5) says MODPY_ADJ_FILES happens at the end of `pre-configure', so update-patches won't pick it up before `configure', i.e. right after `patch'. That's about the best we can do. Defering substitution is not an option because they are often relevant for the build, so one must simply learn the order of steps to do, I guess.