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
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB
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

View File

@ -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

View File

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