Merge pull request #5707 from jamessan/moar-cleaning

build: Make clean targets more thorough
This commit is contained in:
James McCoy 2016-12-03 23:33:13 -05:00 committed by GitHub
commit 0165de0228
3 changed files with 3 additions and 1 deletions

View File

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

View File

@ -36,5 +36,5 @@ tags.ref tags.html: tags
$(AWK) -f maketags.awk tags >tags.html $(AWK) -f maketags.awk tags >tags.html
clean: clean:
-rm -f *.html tags.ref $(HTMLS) errors.log -rm -f *.html tags.ref $(HTMLS) errors.log tags

View File

@ -116,6 +116,7 @@ clean:
valgrind.* \ valgrind.* \
.*.swp \ .*.swp \
.*.swo \ .*.swo \
.gdbinit \
del del
test1.out: .gdbinit test1.in test1.out: .gdbinit test1.in