mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-12 11:19:08 -05:00
build: Remove spaces from variable-printing rules
This simplifies parsing when using these rules from scripts.
This commit is contained in:
parent
0102f80b51
commit
84912d4b24
4 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
# Pattern rule to print variables, e.g. make print-top_srcdir
|
# Pattern rule to print variables, e.g. make print-top_srcdir
|
||||||
print-%:
|
print-%:
|
||||||
@echo '$*' = '$($*)'
|
@echo '$*'='$($*)'
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I build-aux/m4
|
ACLOCAL_AMFLAGS = -I build-aux/m4
|
||||||
SUBDIRS = src
|
SUBDIRS = src
|
||||||
|
|
|
@ -119,7 +119,7 @@ fi
|
||||||
for host in $HOSTS; do
|
for host in $HOSTS; do
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*darwin*)
|
*darwin*)
|
||||||
OSX_SDK="$(make -C "${PWD}/depends" --no-print-directory HOST="$host" print-OSX_SDK | sed 's@^[^=]\+=[[:space:]]\+@@g')"
|
OSX_SDK="$(make -C "${PWD}/depends" --no-print-directory HOST="$host" print-OSX_SDK | sed 's@^[^=]\+=@@g')"
|
||||||
if [ -e "$OSX_SDK" ]; then
|
if [ -e "$OSX_SDK" ]; then
|
||||||
echo "Found macOS SDK at '${OSX_SDK}', using..."
|
echo "Found macOS SDK at '${OSX_SDK}', using..."
|
||||||
else
|
else
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Pattern rule to print variables, e.g. make print-top_srcdir
|
# Pattern rule to print variables, e.g. make print-top_srcdir
|
||||||
print-%:
|
print-%:
|
||||||
@echo '$*' = '$($*)'
|
@echo '$*'='$($*)'
|
||||||
|
|
||||||
# When invoking a sub-make, keep only the command line variable definitions
|
# When invoking a sub-make, keep only the command line variable definitions
|
||||||
# matching the pattern in the filter function.
|
# matching the pattern in the filter function.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
# Pattern rule to print variables, e.g. make print-top_srcdir
|
# Pattern rule to print variables, e.g. make print-top_srcdir
|
||||||
print-%:
|
print-%:
|
||||||
@echo '$*' = '$($*)'
|
@echo '$*'='$($*)'
|
||||||
|
|
||||||
DIST_SUBDIRS = secp256k1 univalue
|
DIST_SUBDIRS = secp256k1 univalue
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue