build: Make clean targets more thorough

This commit is contained in:
James McCoy
2016-12-02 20:33:57 -05:00
parent 3607e0b8ff
commit d98ebd6ab9
3 changed files with 3 additions and 1 deletions

View File

@@ -111,6 +111,7 @@ test: functionaltest unittest
clean:
+test -d build && $(BUILD_CMD) -C build clean || true
$(MAKE) -C src/nvim/testdir clean
$(MAKE) -C runtime/doc clean
distclean: clean
rm -rf .deps build