summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sphinx/setup_command.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index 5c705584..34da039b 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -136,10 +136,7 @@ class BuildDoc(Command):
freshenv=self.fresh_env)
try:
- if self.all_files:
- app.builder.build_all()
- else:
- app.builder.build_update()
+ app.build(force_all=self.all_files)
except Exception, err:
from docutils.utils import SystemMessage
if isinstance(err, SystemMessage):