aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCameron Cawley2018-11-13 15:22:24 +0000
committerDavid Turner2018-11-16 05:19:19 +0000
commit6227cc8bd66fc0f418a891f16c5079281a09cc15 (patch)
treeb9a021b69c8c141ac5b5dadc24860fc7efa9d459 /Makefile
parent96660438e711fa612e7f5b1dbe722393af49d065 (diff)
downloadscummvm-rg350-6227cc8bd66fc0f418a891f16c5079281a09cc15.tar.gz
scummvm-rg350-6227cc8bd66fc0f418a891f16c5079281a09cc15.tar.bz2
scummvm-rg350-6227cc8bd66fc0f418a891f16c5079281a09cc15.zip
BUILD: Add a rule to print the current ScummVM version
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
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)