A typical case is that PKGMANDIR is man, not share/man. That path does not occur in the Python files, which would then make the build fail in SUBST_NOOP_OK=no mode.