1 diff -dur -x '*~' Mesa-vulkan-s20160220.orig/src/mesa/Makefile.am Mesa-vulkan-s20160220/src/mesa/Makefile.am
2 --- Mesa-vulkan-s20160220.orig/src/mesa/Makefile.am 2016-02-19 17:05:35.000000000 +0100
3 +++ Mesa-vulkan-s20160220/src/mesa/Makefile.am 2016-02-20 16:06:38.690371982 +0100
5 gldir = $(includedir)/GL
6 gl_HEADERS = $(top_srcdir)/include/GL/*.h
8 -.PHONY: main/git_sha1.h.tmp
10 - @# Don't assume that $(top_srcdir)/.git is a directory. It may be
11 - @# a gitlink file if $(top_srcdir) is a submodule checkout or a linked
13 - @touch main/git_sha1.h.tmp
14 - @if test -e $(top_srcdir)/.git; then \
15 - if which git > /dev/null; then \
16 - git --git-dir=$(top_srcdir)/.git log -n 1 --oneline | \
17 - sed 's/^\([^ ]*\) .*/#define MESA_GIT_SHA1 "git-\1"/' \
18 - > main/git_sha1.h.tmp ; \
22 -main/git_sha1.h: main/git_sha1.h.tmp
23 - @echo "updating main/git_sha1.h"
24 - @if ! cmp -s main/git_sha1.h.tmp main/git_sha1.h; then \
25 - mv main/git_sha1.h.tmp main/git_sha1.h ;\
27 - rm main/git_sha1.h.tmp ;\
30 include Makefile.sources