chore: Makefile

Makes some adjustments to the behaviors of `make tags` and `make
distclean`.
This commit is contained in:
Chris Lane 2020-01-29 09:36:59 -05:00
parent 9e88ff2642
commit 3fc4c2f89e
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ clean: $(dist_dir)
## distclean: removes the tags file
.PHONY: distclean
distclean:
$(RM) tags
$(RM) -f tags
## setup: installs revive (linter) and scc (sloc tool)
.PHONY: setup
@ -110,7 +110,7 @@ sloc:
## tags: builds a tags file
.PHONY: tags
tags:
$(CTAGS) -R . --exclude=vendor
$(CTAGS) -R --exclude=vendor --languages=go
## vendor: downloads, tidies, and verifies dependencies
.PHONY: vendor