From dfec35fe478d8632da89ceab9a71813c31f3266d Mon Sep 17 00:00:00 2001 From: Clayton Parker Date: Fri, 27 Jun 2014 13:45:39 -0400 Subject: [PATCH] fix error on make clean with no translations --- doc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index bf9cfd5c6b..0e536dbb66 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -64,7 +64,7 @@ help: clean: rm -rf $(BUILDDIR)/* - find locale/ -name *.mo -exec rm {} \; + test -d 'locale' && find locale/ -name *.mo -exec rm {} \; html: translations $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html