mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-17 02:56:51 +00:00
BUILD: makefile: do not use echo -n
On certain UNIXes (Solaris at least), echo -n displays "-n". Let's simply re-arrange the "if" block in the help message not to use it.
This commit is contained in:
parent
f8cc19a1fe
commit
5fb76036a3
8
Makefile
8
Makefile
@ -803,9 +803,11 @@ help:
|
||||
$(Q)sed -ne "/^[^#]*$$/q;s/^# \?\(.*\)/\1/p" Makefile
|
||||
$(Q)echo; \
|
||||
if [ -n "$(TARGET)" ]; then \
|
||||
echo -n "Current TARGET: $(TARGET)"; \
|
||||
if [ -z "$(set_target_defaults)" ]; then echo -n " (custom target)";fi; \
|
||||
echo;\
|
||||
if [ -n "$(set_target_defaults)" ]; then \
|
||||
echo "Current TARGET: $(TARGET)"; \
|
||||
else \
|
||||
echo "Current TARGET: $(TARGET) (custom target)"; \
|
||||
fi; \
|
||||
else \
|
||||
echo "TARGET not set, you may pass 'TARGET=xxx' to set one among :";\
|
||||
echo " linux-glibc, solaris, freebsd, netbsd, osx, openbsd,"; \
|
||||
|
Loading…
Reference in New Issue
Block a user