| ... | ... | @@ -40,12 +40,11 @@ pub fn build(b: *std.Build) !void { |
| 40 | 40 | }); |
| 41 | 41 | docgen_exe.single_threaded = single_threaded; |
| 42 | 42 | |
| 43 | | const rel_zig_exe = try b.build_root.join(b.allocator, &.{b.zig_exe}); |
| 44 | 43 | const langref_out_path = try b.cache_root.join(b.allocator, &.{"langref.html"}); |
| 45 | 44 | const docgen_cmd = docgen_exe.run(); |
| 46 | 45 | docgen_cmd.addArgs(&[_][]const u8{ |
| 47 | 46 | "--zig", |
| 48 | | rel_zig_exe, |
| 47 | b.zig_exe, |
| 49 | 48 | "doc" ++ fs.path.sep_str ++ "langref.html.in", |
| 50 | 49 | langref_out_path, |
| 51 | 50 | }); |