aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-12-03 23:33:13 -0500
committerGitHub <noreply@github.com>2016-12-03 23:33:13 -0500
commit0165de0228387aa2ee2341ce9bf318a7fdf2f9c7 (patch)
treec74f508929a72ce599394a8516ed751836f88bde
parentcc33aebd8eeee57cef6d30f0048d0837c96818be (diff)
parentd98ebd6ab94fd78ff77a57a2a0e2dbb84a8a45da (diff)
downloadrneovim-0165de0228387aa2ee2341ce9bf318a7fdf2f9c7.tar.gz
rneovim-0165de0228387aa2ee2341ce9bf318a7fdf2f9c7.tar.bz2
rneovim-0165de0228387aa2ee2341ce9bf318a7fdf2f9c7.zip
Merge pull request #5707 from jamessan/moar-cleaning
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