From 5a72605339cbb275277be76d1259589137d5db6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Sat, 8 Jul 2023 22:39:21 +0000 Subject: add `make fixstyle` --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 767c268..ba6711a 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,9 @@ build/qlprint: $(OBJS) $(OBJS): $(wildcard include/*) Makefile -.PHONY: clean +.PHONY: clean fixstyle clean: -rm -f build/* +fixstyle: + find include/ src/ -regex '.*\.[ch]' -print0 | xargs -0 -n 1 env VERSION_CONTROL=never indent --linux-style -l100 -- cgit v1.2.1