Message 56070 - Python tracker (original) (raw)
The attached patch should solve the problem by adding appropriate dependencies to the libinstall target.
I have tested:
./configure; make install
but not yet:
./configure; make all install ./configure; make all; make install
Note: I introduced a new "build_all" phony target so that both all and libinstall could depend on this, rather than making libinstall either:
depend on all (which I guess would cause nasty looping dependencies if one were to run "make all install")
duplicate all the dependencies of all, thus causing a maintenance issue
Possibly, the new dependencies should be added to install instead of libinstall?
Alternatively, I guess one could make "all" touch a file, and "install" or "libinstall" validate that the file exists, and error out if it doesn't.