From a200131495cccbca37ec257141adaafa72d33fb7 Mon Sep 17 00:00:00 2001 From: Valter Silva Date: Sat, 2 Mar 2024 09:54:29 +0000 Subject: [PATCH] feat: Add target to find and display Makefile contents --- lib/make/make/helpers.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/make/make/helpers.mk b/lib/make/make/helpers.mk index 1fb2a51..d1139ff 100644 --- a/lib/make/make/helpers.mk +++ b/lib/make/make/helpers.mk @@ -62,3 +62,9 @@ help/generate-no-colour: } \ { lastLine = $$0 }' $(MAKEFILE_LIST) | sort -u @printf "\n" + +.PHONY: fix/makefiles +## Find all Makefile files and display their contents +fix/makefiles: + @find . -name "Makefile" -exec cat -e -t -v {} \; + @find . -name "*.mk" -exec cat -e -t -v {} \;