diff --git a/flow/scripts/variables.mk b/flow/scripts/variables.mk index 305818b1eb..7300f9d8d6 100644 --- a/flow/scripts/variables.mk +++ b/flow/scripts/variables.mk @@ -217,16 +217,5 @@ vars: .PHONY: print-% print-%: - # HERE BE DRAGONS! - # - # We have to use /tmp. $(OBJECTS_DIR) may not exist - # at $(file) expansion time, which is before commands are run - # here, so we can't mkdir -p $(OBJECTS_DIR) either - # - # We have to use $(file ...) because we want to be able - # to print variables that contain newlines. - $(eval TEMP_FILE := $(shell mktemp /tmp/print_tmp.XXXXXX)) - @$(file >$(TEMP_FILE),$($*)) - @echo -n "$*: " - @cat $(TEMP_FILE) - @rm -f $(TEMP_FILE) + $(info $*: $($*)) + @true