#5158: added documentation on the depends option in distutils extensions
diff --git a/Doc/ACKS.txt b/Doc/ACKS.txt
index 38c3dc2..849886a 100644
--- a/Doc/ACKS.txt
+++ b/Doc/ACKS.txt
@@ -18,6 +18,7 @@
    * Oliver Andrich
    * Heidi Annexstad
    * Jesús Cea Avión
+   * Manuel Balsera
    * Daniel Barclay
    * Chris Barker
    * Don Bashford
diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst
index 997dab7..9308288 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
 ================================================