[Python-Dev] addressing distutils inability to track file dependencies

Martin v. Loewis martin@v.loewis.de
13 Jun 2002 23:03:36 +0200


Skip Montanaro <skip@pobox.com> writes:

> You will get more reliable dependency checking for one thing.

I doubt that. To get that checking, you need to tell make what the
dependencies are - it won't automatically assume anything except that
object files depend on their input sources.

In particular, you will *not* get dependencies to header files - in my
experience, those are the biggest source of build problems. If you add
a scanning procedure for finding header files, you can integrate this
into distutils' dependency mechanisms just as well as you can generate
five different makefile formats from those data.

Regards,
Martin