summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-02-17 13:46:16 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-02-17 13:50:14 +0100
commit3d635b500a4a007ca0c5f732a9644b44472636e5 (patch)
treeeca2a6802e246bd63f83f0b941e2a9a6dde2b65a /Makefile
parent1bd23856fbf5851383881c469684d39c11e8234b (diff)
Make codespell target more flexible.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c94e29c5..cdf4c1ed 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,8 @@ GIT ?= git
TAR ?= tar
XZ ?= xz
GPG ?= gpg
+CODESPELL ?= codespell
+CODESPELL_FLAGS ?= --disable-colors --write-changes
ifeq ($(shell uname -s), Darwin)
INSTALL ?= ginstall
@@ -166,6 +168,6 @@ sanity-check-versions:
.PHONY: codespell
codespell:
- codespell --disable-colors --write-changes \
+ $(CODESPELL) $(CODESPELL_FLAGS) \
-L "ede,iff,mut,nd,te,uint" \
-S "*.bin,*.gpg,*.pgp,./.git,./target,data,highlight.js"