From 6227cc8bd66fc0f418a891f16c5079281a09cc15 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Tue, 13 Nov 2018 15:22:24 +0000 Subject: BUILD: Add a rule to print the current ScummVM version --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 70153e62ac..3e72d86a70 100644 --- a/Makefile +++ b/Makefile @@ -112,9 +112,15 @@ ifneq ($(origin port_mk), undefined) include $(srcdir)/$(port_mk) endif -.PHONY: print-dists print-executables +.PHONY: print-dists print-executables print-version print-distversion print-dists: @echo $(DIST_FILES_DOCS) $(DIST_FILES_THEMES) $(DIST_FILES_NETWORKING) $(DIST_FILES_ENGINEDATA) $(srcdir)/doc print-executables: @echo $(if $(DIST_EXECUTABLES),$(DIST_EXECUTABLES),$(EXECUTABLE) $(PLUGINS)) + +print-version: + @echo $(VERSION) + +print-distversion: + @echo $(DISTVERSION) -- cgit v1.2.3