Merged revisions 69566 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69566 | tarek.ziade | 2009-02-13 10:12:33 +0100 (Fri, 13 Feb 2009) | 1 line
#5158: added documentation on the depends option in distutils extensions
........
diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst
index 666b7d6..9ae2e4d 100644
--- a/Doc/distutils/setupscript.rst
+++ b/Doc/distutils/setupscript.rst
@@ -347,6 +347,10 @@
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
================================================