]> git.kaiwu.me - haproxy.git/commit
BUILD: makefile: adjust the sed expression of "make help" for solaris
authorWilly Tarreau <w@1wt.eu>
Sat, 22 Jun 2019 06:13:24 +0000 (08:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 22 Jun 2019 06:13:24 +0000 (08:13 +0200)
commite8d0719924cd842a608c9a612bab7f5718777a3d
tree94c8b7a08d284d518911999c25f3c729772eadc3
parent30a6f6402e385e76870618e3b1950ac989e93612
BUILD: makefile: adjust the sed expression of "make help" for solaris

Solaris's sed doesn't take the 'p' argument on the 's' command so
nothing is printed. Just passing ';p' fixes this without affecting
other implementations. Additionally, optional characters cannot be
matched using a question mark, which is always searched verbatim, so
the leading '#' wasn't stripped. Using \{0,1\} works fine everywhere
so let's use this instead.
Makefile