Last active
June 25, 2020 11:40
-
-
Save g-andrade/0dc56286232b04ed26d6aa9e6e7721dc to your computer and use it in GitHub Desktop.
Makefile rule that looks for bad indentation within itself
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check-makefile-indentation: | |
@awk '/^[[:space:]]/ && /^[^\t]/{print FILENAME":"FNR":"$$0}' \ | |
$(MAKEFILE_LIST) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment