diff options
Diffstat (limited to 'bin/version.mk')
-rwxr-xr-x | bin/version.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/version.mk b/bin/version.mk new file mode 100755 index 00000000000..ab20d79daee --- /dev/null +++ b/bin/version.mk @@ -0,0 +1,17 @@ +#!/usr/bin/make -sf +# Print the various Mesa version fields. This is mostly used to add the +# version to configure. + +# This reflects that this script is usually called from the toplevel +TOP = . + +include $(TOP)/configs/default + +version: + @echo $(MESA_VERSION) +major: + @echo $(MESA_MAJOR) +minor: + @echo $(MESA_MINOR) +tiny: + @echo $(MESA_TINY) |