From 4b6c4267b7bfcac19401f57cf6740220d12739dc Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Fri, 25 Mar 2022 12:34:30 +0000 Subject: hadrian: Add show target to bindist makefile Some build systems use "make show" to query facts about the bindist, for example: ``` make show VALUE=ProjectVersion > version ``` to determine the ProjectVersion --- hadrian/bindist/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hadrian/bindist/Makefile b/hadrian/bindist/Makefile index fdeb06ace5..e9b1ce1cf7 100644 --- a/hadrian/bindist/Makefile +++ b/hadrian/bindist/Makefile @@ -76,6 +76,10 @@ endef # QUESTION : should we use shell commands? +show: + @echo '$(VALUE)="$($(VALUE))"' + + .PHONY: install ifeq "$(TargetOS_CPP)" "mingw32" -- cgit v1.2.1