aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-08-21 21:01:37 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-08-21 21:01:37 -0400
commit3dd1026c8bcb438228c336add7cc4014552aa05c (patch)
tree5e073a9784a6fa4699e0eca9a3eb0148756e6722
parent02ba4b1678b9eca4262b2912c6e15030a2e75624 (diff)
downloadzig-3dd1026c8bcb438228c336add7cc4014552aa05c.tar.gz
zig-3dd1026c8bcb438228c336add7cc4014552aa05c.zip
fix docs on windows
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index dd939365a2..6584e5ab1f 100644
--- a/build.zig
+++ b/build.zig
@@ -19,7 +19,7 @@ pub fn build(b: *Builder) !void {
var docgen_cmd = b.addCommand(null, b.env_map, [][]const u8{
docgen_exe.getOutputPath(),
rel_zig_exe,
- "doc/langref.html.in",
+ "doc" ++ os.path.sep_str ++ "langref.html.in",
os.path.join(b.allocator, b.cache_root, "langref.html") catch unreachable,
});
docgen_cmd.step.dependOn(&docgen_exe.step);