Add lint-makefiles Makefile linting test.
commit547de57e5a54d3a02733523b75f261e95fc71579
authorCarlos O'Donell <carlos@redhat.com>
Thu, 18 May 2023 20:18:22 +0000 (18 16:18 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Sat, 3 Jun 2023 01:43:05 +0000 (2 21:43 -0400)
tree5a71c8bc300dadde2ed684a4a3078207e85d0338
parentac14b7ee0620268544a2401c06824dc7d0aeb6a2
Add lint-makefiles Makefile linting test.

We add a 'make check' test that lints all Makefiles in the source
directory of the glibc build. This linting test ensures that the
lines in all Makefiles will be sorted correctly as developers
creates patches.  It is added to 'make check' because it is
light-weight and supports the existing developer workflow

The test adds ~3s to a 'make check' execution.

No regressions on x86_64 and i686.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Makefile
scripts/lint-makefiles.sh [new file with mode: 0644]