aboutsummaryrefslogtreecommitdiff
path: root/mesalib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/Makefile')
-rw-r--r--mesalib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesalib/Makefile b/mesalib/Makefile
index 814d20eb2..8c926bda6 100644
--- a/mesalib/Makefile
+++ b/mesalib/Makefile
@@ -5,7 +5,10 @@ TOP = .
SUBDIRS = src
+# The git command below generates an empty string when we're not
+# building in a GIT tree (i.e., building from a release tarball).
default: $(TOP)/configs/current
+ @$(TOP)/bin/extract_git_sha1
@for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
(cd $$dir && $(MAKE)) || exit 1 ; \
@@ -199,6 +202,7 @@ MAIN_FILES = \
$(DIRECTORY)/aclocal.m4 \
$(DIRECTORY)/bin/config.guess \
$(DIRECTORY)/bin/config.sub \
+ $(DIRECTORY)/bin/extract_git_sha1 \
$(DIRECTORY)/bin/install-sh \
$(DIRECTORY)/bin/mklib \
$(DIRECTORY)/bin/minstall \