From ab5ec7e826741ab6bc8292114e6c6d41c7630a9c Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 15 Apr 2016 21:29:29 +0200 Subject: Bug 1232171 - 'make clean' shouldn't delete rst/, images/ and Makefile, only generated files r=gerv --- docs/en/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/en') 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 -- cgit v1.2.3-24-g4f1b