aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-04-15 21:30:36 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2016-04-15 21:30:36 +0200
commita868b88d147f14c2135beb53b82babbc4c46635f (patch)
treeb1118be57585b830229771a14f289a4ee00e8d43
parent7b39cc65c1569f0c6d60432bbf9ff63440696c39 (diff)
downloadbugs-a868b88d147f14c2135beb53b82babbc4c46635f.tar
bugs-a868b88d147f14c2135beb53b82babbc4c46635f.tar.gz
bugs-a868b88d147f14c2135beb53b82babbc4c46635f.tar.bz2
bugs-a868b88d147f14c2135beb53b82babbc4c46635f.tar.xz
bugs-a868b88d147f14c2135beb53b82babbc4c46635f.zip
Bug 1232171 - 'make clean' shouldn't delete rst/, images/ and Makefile, only generated files
r=gerv
-rw-r--r--docs/en/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/en/Makefile b/docs/en/Makefile
index fc9af11e0..8c3621f31 100644
--- a/docs/en/Makefile
+++ b/docs/en/Makefile
@@ -39,7 +39,7 @@ help:
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
clean:
- -rm -rf $(BUILDDIR)/*
+ find $(BUILDDIR) -maxdepth 1 -type d -not -name rst -not -name images -not -name . -exec rm -rf {} \;
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html