diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-02-20 14:48:30 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-02-20 14:48:30 +0100 |
commit | 0d021f3174ac72dd2e1535770e02ac24409f4104 (patch) | |
tree | c693e5a409a98aa368f8d84109d0094f1a0c0128 | |
parent | c932261346863e79cba277ad06c3f5305a34274e (diff) | |
download | tcpdump-0d021f3174ac72dd2e1535770e02ac24409f4104.tar.gz |
Makefile.in: Update whitespacecheck target to show spaces before tabs
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index ef9bd7fb..37567af4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -524,6 +524,11 @@ whitespacecheck: echo 'Error: Trailing tabs(s).'; \ exit 1; \ fi + @# space(s) before tab(s)? + @if git grep -I -n '[ ][ ]' $$(git ls-files|grep -v '^tests/'); then \ + echo 'Error: space(s) before tab(s).'; \ + exit 1; \ + fi testlist: echo $(TEST_DIST) |