summaryrefslogtreecommitdiffstats
path: root/docs/en/Makefile
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-04-15 21:29:29 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2016-04-15 21:29:29 +0200
commitab5ec7e826741ab6bc8292114e6c6d41c7630a9c (patch)
tree14b1c0ef9b30bf286b4ef74e578e56e34312c006 /docs/en/Makefile
parent06654a4693d7258deb0013ea23f70071b3486c83 (diff)
downloadbugzilla-ab5ec7e826741ab6bc8292114e6c6d41c7630a9c.tar.gz
bugzilla-ab5ec7e826741ab6bc8292114e6c6d41c7630a9c.tar.xz
Bug 1232171 - 'make clean' shouldn't delete rst/, images/ and Makefile, only generated files
r=gerv
Diffstat (limited to 'docs/en/Makefile')
-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