aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-03-10 14:22:54 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-03-15 10:48:14 -0700
commit2c326c87b16a0b8febf5347292ba61a592467d8c (patch)
tree4247d6bd27c96800b30914db8e1bdca70393f454 /build.zig
parentf4428e5804971f4bbb897b5d1d5583073bcb31aa (diff)
downloadzig-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.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 44d8f84c59..a0c4ca7fb4 100644
--- a/build.zig
+++ b/build.zig
@@ -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);
}