diff --git a/setup.py b/setup.py index 1aef3965acd..f600c0612c2 100755 --- a/setup.py +++ b/setup.py @@ -114,7 +114,7 @@ class Clean(clean): clean.run(self) # Let's clean compiled *.py[c,o] remove_extensions = ('.pyc', '.pyo') - for subdir in ('salt', 'tests'): + for subdir in ('salt', 'tests', 'doc'): root = os.path.join(os.path.dirname(__file__), subdir) for dirname, dirnames, filenames in os.walk(root): for filename in filenames: