mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
build: Proper quoting for var printing targets
Previously, if the value contained syntax that was meaningful to make, the printing would fail. Quoting properly avoids this.
This commit is contained in:
parent
f72d80b07a
commit
b3bdff42b5
@ -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
|
||||||
|
@ -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…
Reference in New Issue
Block a user