summaryrefslogtreecommitdiffstats
path: root/src/mesa/SConscript
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-03-02 15:58:17 +0000
committerEmil Velikov <[email protected]>2015-03-05 14:45:54 +0000
commit3f6c28f2a976e35128b7a4a513cfa60af00301e1 (patch)
treee44a3c52ec55f6ff396e9ca17582c57a18d4003a /src/mesa/SConscript
parentabae3434c42ce55d0aa26443e52fea98cc7cfe32 (diff)
mesa: rename format_info.c to format_info.h
The file is auto-generated, and #included by formats.c. Let's rename it to reflect the latter. This will also help up fix the dependency tracking by adding it to the _SOURCES variable, without the side effect of it being compiled (twice). v2: Update .gitignore to reflect the rename. Cc: "10.4, 10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/SConscript')
-rw-r--r--src/mesa/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index d6ff0835445..81939f981ca 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -64,7 +64,7 @@ get_hash_header = env.CodeGenerate(
)
format_info = env.CodeGenerate(
- target = 'main/format_info.c',
+ target = 'main/format_info.h',
script = 'main/format_info.py',
source = 'main/formats.csv',
command = python_cmd + ' $SCRIPT ' + ' $SOURCE > $TARGET'