summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f3537c8..44e137e 100644
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,7 @@ $(KCONFIG):
CHECK_COMMAND = $(shell command -v $(BUILD_COMMAND) 2> /dev/null)
CHECK_SUBCMD = $(shell command -v $(BUILD_SUBCMD) 2> /dev/null)
+CHECK_FILES = $(shell find $(CURDIR) -name \*\.tex -exec grep -lP '\t' \{\} \;)
PHONY += check
check: ;
@@ -106,6 +107,9 @@ endif
ifeq ($(CHECK_SUBCMD),)
$(error install required tool: $(BUILD_SUBCMD))
endif
+ifneq ($(CHECK_FILES),)
+ $(warning remove tabs from tex-files: $(CHECK_FILES))
+endif
PHONY += menuconfig
menuconfig: $(KMCONFIG)