public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
384e9b3
)
LLgen won't update the output file timestamp if the file contents doesn't
author
David Given
<dg@cowlark.com>
Wed, 15 Nov 2017 18:41:39 +0000
(19:41 +0100)
committer
David Given
<dg@cowlark.com>
Wed, 15 Nov 2017 18:41:39 +0000
(19:41 +0100)
change, which confuses ninja no end. Fix this.
Fixes: #68
util/LLgen/build.lua
patch
|
blob
|
history
diff --git
a/util/LLgen/build.lua
b/util/LLgen/build.lua
index
9cde563
..
36e796f
100644
(file)
--- a/
util/LLgen/build.lua
+++ b/
util/LLgen/build.lua
@@
-42,7
+42,7
@@
definerule("llgen",
e.srcs,
},
commands = {
- "cd %{dir} && %{abspath(ins)}"
+ "cd %{dir} &&
rm -f %{outs} &&
%{abspath(ins)}"
}
}
end