From 1bcb3ef1a958a59085b35eff6d63b486afa11ace Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 17 Feb 2024 10:15:57 +0100 Subject: Add check rule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7969201..065143f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ .POSIX: DEVCHECK = @: +UNIMPORTANT_CHECK = CONFIGFILE = config.mk include $(CONFIGFILE) @@ -30,7 +31,11 @@ generated.mk: $(CONFIGFILE) icons.mk Makefile check-icon-listing check-icon-listing: check/check-icon-listing.c $(CC) -o $@ $< $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -check: +check: check-icon-listing + $(UNIMPORTANT_CHECK) check/find-errors + $(UNIMPORTANT_CHECK) check/find-unlisted-icons + $(UNIMPORTANT_CHECK) check/find-duplicates + $(UNIMPORTANT_CHECK) ./check-icon-listing +cd apps && $(MAKE) check clean: -- cgit v1.2.3-70-g09d2