BUILD: makefile: fix the "make clean" target on strict bourne shells
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Apr 2021 15:17:16 +0000 (17:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Apr 2021 15:22:33 +0000 (17:22 +0200)
commitaf6ae6395fef76b9b01123d33f0017b946e03c74
treeceb703d2a8d0e3ca5f754596698309aec3f14a5b
parentaba7f8b3132de3b29efe634cad8fb574f259549b
BUILD: makefile: fix the "make clean" target on strict bourne shells

As reported by @axinojolais in issue #1217, some older bourne shells do
not expand on braces so some files were not cleaned since the recent
splitting of the contrib/ subdir. Let's fix that by explicitly listing
the patterns to be cleared (which are in much smaller quantity now that
contrib was removed), and for grouping them with their respective dirs.

At some point, some recursive makefiles would probably help there.
Makefile