fix cleaning in out-of-tree builds
The altered previously failed if the rst sources hadn't been copied over.
This commit is contained in:
parent
6ec7683991
commit
28f88d46f3
|
@ -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)/*
|
||||
|
|
Loading…
Reference in New Issue