Merge pull request #938 from benjaminp/fix-clean

fix cleaning in out-of-tree builds
This commit is contained in:
Tatsuhiro Tsujikawa 2017-06-12 00:21:10 +09:00 committed by GitHub
commit 5833ef1efc
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ apiref.rst: \
$(APIDOCS): apiref.rst
clean-local:
[ $(srcdir) = $(builddir) ] || for i in $(RST_FILES); do [ -e $(builddir)/$$i ] && rm -f $(builddir)/$$i; done
if [ $(srcdir) != $(builddir) ]; then for i in $(RST_FILES); do rm -f $(builddir)/$$i; done fi
-rm -f apiref.rst
-rm -f $(APIDOCS)
-rm -rf $(BUILDDIR)/*