diff options
author | Eric Engestrom <[email protected]> | 2017-07-06 20:25:28 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2017-07-06 22:59:39 +0100 |
commit | 076faf8764d3cd8038145286f7533d0a18e82476 (patch) | |
tree | a7dc59a9fff663e8a06a11750e3a6f62b10950df /src | |
parent | bab03c06fc79ec5624982777684d0c5f123c127c (diff) |
build systems: move git_sha1_gen.sh to bin/
There was no reason for this script to live outside the scripts
directory.
Suggested-by: Brian Paul <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/SConscript | 2 | ||||
-rw-r--r-- | src/mesa/Android.libmesa_git_sha1.mk | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 36995e08a45..5aee6b01417 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -21,7 +21,7 @@ .PHONY: git_sha1.h.tmp git_sha1.h.tmp: - @sh $(top_srcdir)/git_sha1_gen.sh > $@ + @sh $(top_srcdir)/bin/git_sha1_gen.sh > $@ git_sha1.h: git_sha1.h.tmp @echo "updating git_sha1.h" diff --git a/src/SConscript b/src/SConscript index c31e4ec06fa..37b3f8572e2 100644 --- a/src/SConscript +++ b/src/SConscript @@ -24,7 +24,7 @@ def write_git_sha1_h_file(filename): tempfile = "git_sha1.h.tmp" with open(tempfile, "w") as f: - args = [ 'sh', Dir('#').abspath + '/git_sha1_gen.sh' ] + args = [ 'sh', Dir('#').abspath + '/bin/git_sha1_gen.sh' ] try: subprocess.Popen(args, stdout=f).wait() except: diff --git a/src/mesa/Android.libmesa_git_sha1.mk b/src/mesa/Android.libmesa_git_sha1.mk index a5a1ebb37f5..7d64b1c809c 100644 --- a/src/mesa/Android.libmesa_git_sha1.mk +++ b/src/mesa/Android.libmesa_git_sha1.mk @@ -46,7 +46,7 @@ LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/, git_sha1.h) $(intermediates)/git_sha1.h: $(wildcard $(MESA_TOP)/.git/logs/HEAD) @mkdir -p $(dir $@) @echo "GIT-SHA1: $(PRIVATE_MODULE) <= git" - $(hide) sh $(MESA_TOP)/git_sha1_gen.sh > $@ + $(hide) sh $(MESA_TOP)/bin/git_sha1_gen.sh > $@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(intermediates) |