From eceb1437726a1fae5280ec57bb35a8065996e21d Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 22 Feb 2022 00:29:50 +0100 Subject: Move linting to own `lint` target --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9504203..5fb1e3d 100644 --- a/Makefile +++ b/Makefile @@ -50,10 +50,13 @@ badwolf: $(OBJS) uri_test: uri.o uri_test.o $(CC) -std=c11 -o $@ uri.o uri_test.o $(LDFLAGS) $(LIBS) - $(DBG) ./$@ .PHONY: test test: $(EXE_test) + $(DBG) ./uri_test + +.PHONY: lint +lint: $(MANDOC) -Tlint -Wunsupp,error,warning ./badwolf.1 $(SHELLCHECK) ./configure -- cgit v1.3.1-23-gd82d