LLgen won't update the output file timestamp if the file contents doesn't
change, which confuses ninja no end. Fix this. Fixes: #68
This commit is contained in:
parent
384e9b3f5a
commit
caa9df5449
|
@ -42,7 +42,7 @@ definerule("llgen",
|
||||||
e.srcs,
|
e.srcs,
|
||||||
},
|
},
|
||||||
commands = {
|
commands = {
|
||||||
"cd %{dir} && %{abspath(ins)}"
|
"cd %{dir} && rm -f %{outs} && %{abspath(ins)}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue