mbox series

[0/2] Standardize the sorting of Makefile variables

Message ID 20230428114811.4129539-1-carlos@redhat.com
Headers show
Series Standardize the sorting of Makefile variables | expand

Message

Carlos O'Donell April 28, 2023, 11:48 a.m. UTC
The project has started to re-flow and sort Makefile variables to make
it easier to manage the lists of inputs and tests.  While splitting the
lines is easy to do, the sorting is more onerous because of the desire
to sort like tests with like tests.  The following is my attempt to
standardize teh sorting following the consensus discussion on the list
which suggested using LC_COLLATE=C and sorting similar tests in
numerical order of their prefix.

The series re-flows and then sorts sysdeps/pthread/Makefile using the
new helper python script.

Carlos O'Donell (2):
  nptl: Re-flow and sort variables in Makefile.
  scripts: Add sort-makefile-lines.py to sort Makefile variables.

 scripts/sort-makefile-lines.py                | 217 +++++++++
 sysdeps/pthread/Makefile                      | 433 +++++++++++++-----
 .../{tst-mutex7robust.c => tst-robust11.c}    |   0
 3 files changed, 537 insertions(+), 113 deletions(-)
 create mode 100755 scripts/sort-makefile-lines.py
 rename sysdeps/pthread/{tst-mutex7robust.c => tst-robust11.c} (100%)