mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
Added the make script version.mk to print the various version numbers from configs/default. This is used to substitute the version in autoconf rather than duplicating it in both places.
17 lines
341 B
Makefile
Executable file
17 lines
341 B
Makefile
Executable file
#!/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)
|