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:
David Given 2017-11-15 19:41:39 +01:00
parent 384e9b3f5a
commit caa9df5449

View file

@ -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