]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1232171 - 'make clean' shouldn't delete rst/, images/ and Makefile, only generate...
authorFrédéric Buclin <LpSolit@gmail.com>
Fri, 15 Apr 2016 19:29:29 +0000 (21:29 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 15 Apr 2016 19:29:29 +0000 (21:29 +0200)
r=gerv

docs/en/Makefile

index fc9af11e01f797df5eb2694e1ee337b9f0924edf..8c3621f3142ab012c9d13f98be62b4726bc48aa0 100644 (file)
@@ -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