(original) (raw)

--- python/trunk/Doc/distutils/builtdist.rst Thu Feb 5 10:04:29 2009 +++ python/trunk/Doc/distutils/builtdist.rst Thu Feb 5 10:24:59 2009 @@ -347,5 +347,9 @@ building compiled extensions: Distutils will automatically add ``initmodule`` to the list of exported symbols. +The :option:`depends` option is a list of files that the extension depends on (for +example header files). The build command will call the compiler on the sources to +rebuild extension if any on this files has been modified since the previous build. + Relationships between Distributions and Packages ================================================