diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-03-10 14:22:54 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-03-15 10:48:14 -0700 |
| commit | 2c326c87b16a0b8febf5347292ba61a592467d8c (patch) | |
| tree | 4247d6bd27c96800b30914db8e1bdca70393f454 /build.zig | |
| parent | f4428e5804971f4bbb897b5d1d5583073bcb31aa (diff) | |
| download | zig-2c326c87b16a0b8febf5347292ba61a592467d8c.tar.gz zig-2c326c87b16a0b8febf5347292ba61a592467d8c.zip | |
build.zig: install the langref to $prefix/doc/langref.html
and update the CI scripts to match.
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ pub fn build(b: *std.Build) !void { docgen_cmd.addArgs(&.{ "--zig", b.zig_exe }); docgen_cmd.addFileSourceArg(.{ .path = "doc/langref.html.in" }); const langref_file = docgen_cmd.addOutputFileArg("langref.html"); - const install_langref = b.addInstallFileWithDir(langref_file, .prefix, "langref.html"); + const install_langref = b.addInstallFileWithDir(langref_file, .prefix, "doc/langref.html"); if (!skip_install_lib_files) { b.getInstallStep().dependOn(&install_langref.step); } |
