]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: makefile: make the output of the "opts" target more readable
authorWilly Tarreau <w@1wt.eu>
Thu, 11 Apr 2024 15:20:42 +0000 (17:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Apr 2024 15:33:28 +0000 (17:33 +0200)
commit8e0263323ca503699386bd0048d2e413ac85e3e7
tree30e1d202f6f4ed39e3069b569805f7f72c300d0a
parentac73a234543f3be4bd514354760801fd0ce25779
CLEANUP: makefile: make the output of the "opts" target more readable

"make opts" is nice because it shows all options being used, but it
does so in a copy-pastable way that aggregates everything on a single
line, rendering very poorly and making it hard to spot the relevant
variables.

Let's break lines and append a trailing backslash to them instead. This
gives something much more readable which remains copy-pastable. Options
can be inspected and more easily replicated. It was also verified that
copy-pasting the whole block after "make" does continue to work like
before and produces the same output.
Makefile