fix error on make clean with no translations

This commit is contained in:
Clayton Parker 2014-06-27 13:45:39 -04:00
parent 33e6cd6191
commit dfec35fe47

View File

@ -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