aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-12-02 20:33:57 -0500
committerJames McCoy <jamessan@jamessan.com>2016-12-02 20:38:55 -0500
commitd98ebd6ab94fd78ff77a57a2a0e2dbb84a8a45da (patch)
tree937e65da4c63ee221c9115306fc63e57661508a9
parent3607e0b8ff772683668127b92a841a57f8412ebc (diff)
downloadrneovim-d98ebd6ab94fd78ff77a57a2a0e2dbb84a8a45da.tar.gz
rneovim-d98ebd6ab94fd78ff77a57a2a0e2dbb84a8a45da.tar.bz2
rneovim-d98ebd6ab94fd78ff77a57a2a0e2dbb84a8a45da.zip
build: Make clean targets more thorough
-rw-r--r--Makefile1
-rw-r--r--runtime/doc/Makefile2
-rw-r--r--src/nvim/testdir/Makefile1
3 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8fdf007260..4696131cc2 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/runtime/doc/Makefile b/runtime/doc/Makefile
index 3d10d0ea98..dabbcd08d9 100644
--- a/runtime/doc/Makefile
+++ b/runtime/doc/Makefile
@@ -36,5 +36,5 @@ tags.ref tags.html: tags
$(AWK) -f maketags.awk tags >tags.html
clean:
- -rm -f *.html tags.ref $(HTMLS) errors.log
+ -rm -f *.html tags.ref $(HTMLS) errors.log tags
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index c6e9c26c57..b2a512013b 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -116,6 +116,7 @@ clean:
valgrind.* \
.*.swp \
.*.swo \
+ .gdbinit \
del
test1.out: .gdbinit test1.in