diff options
author | Loïc Hoguin <[email protected]> | 2017-11-15 13:52:42 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-11-15 13:52:42 +0100 |
commit | 8654d90d60224d3c92f3a3905d1331f9e00d608a (patch) | |
tree | c2b53079fc052610bc59801cca2109804e848cfe /Makefile | |
parent | 1a5adc65f04a8c92c4aee6a6115d80120b09a389 (diff) | |
download | erlang.mk-8654d90d60224d3c92f3a3905d1331f9e00d608a.tar.gz erlang.mk-8654d90d60224d3c92f3a3905d1331f9e00d608a.tar.bz2 erlang.mk-8654d90d60224d3c92f3a3905d1331f9e00d608a.zip |
Add a lint command
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -35,6 +35,9 @@ all: | sed 's/^ERLANG_MK_VERSION =.*/ERLANG_MK_VERSION = $(ERLANG_MK_VERSION)/' \ | sed 's:^ERLANG_MK_WITHOUT =.*:ERLANG_MK_WITHOUT = $(WITHOUT):' > $(ERLANG_MK) +lint: all + $(MAKE) -f erlang.mk --warn-undefined-variables + ifdef p # Remove p from the list of variables since that conflicts with bootstrapping. MAKEOVERRIDES := $(filter-out p=$p,$(MAKEOVERRIDES)) |