[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Makefile rules indentation
From: |
Bruno Haible |
Subject: |
Re: Makefile rules indentation |
Date: |
Wed, 14 Feb 2024 18:11:53 +0100 |
> > This is OK for both master and maint/poke-4.
>
> Pushed.
Oops, this broke "make syntax-check".
maint.mk: found TAB-8-space indentation
make: *** [maint.mk:1192: sc_makefile_TAB_only_indentation] Error 1
This "prohibit space after TAB in Makefiles" rule makes no sense to me.
It is "TAB after space" that usually causes editing mistakes and
undesired diffs between revisions, not "space after TAB".
This rule was imported in gnulib's maint.mk in 2009, from coreutils. But like
any syntax-check rule, it can be disabled.
Do you prefer to keep it enabled in poke (and force mixed TAB+TAB+space
indentation in some Makefile.am lines), or do you prefer to disable it?
Bruno