aboutsummaryrefslogtreecommitdiff
path: root/mesalib/bin
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/bin')
-rw-r--r--mesalib/bin/.gitignore1
-rw-r--r--mesalib/bin/extract_git_sha120
-rw-r--r--mesalib/bin/version.mk17
3 files changed, 1 insertions, 37 deletions
diff --git a/mesalib/bin/.gitignore b/mesalib/bin/.gitignore
index 2ee67a666..dfaa6d366 100644
--- a/mesalib/bin/.gitignore
+++ b/mesalib/bin/.gitignore
@@ -5,3 +5,4 @@ install-sh
/missing
ylwrap
compile
+ar-lib
diff --git a/mesalib/bin/extract_git_sha1 b/mesalib/bin/extract_git_sha1
deleted file mode 100644
index 828387016..000000000
--- a/mesalib/bin/extract_git_sha1
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-if [ ! -f src/mesa/main/git_sha1.h ]; then
- touch src/mesa/main/git_sha1.h
-fi
-
-if [ ! -d .git ]; then
- exit
-fi
-
-if which git > /dev/null; then
- # Extract the 7-digit "short" SHA1 for the current HEAD, convert
- # it to a string, and wrap it in a #define. This is used in
- # src/mesa/main/version.c to put the GIT SHA1 in the GL_VERSION string.
- git log -n 1 --oneline |\
- sed 's/^\([^ ]*\) .*/#define MESA_GIT_SHA1 "git-\1"/' \
- > src/mesa/main/git_sha1.h.tmp
- if ! cmp -s src/mesa/main/git_sha1.h.tmp src/mesa/main/git_sha1.h; then
- mv src/mesa/main/git_sha1.h.tmp src/mesa/main/git_sha1.h
- fi
-fi
diff --git a/mesalib/bin/version.mk b/mesalib/bin/version.mk
deleted file mode 100644
index ab20d79da..000000000
--- a/mesalib/bin/version.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/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)