add(build): include man page in installation build step

This commit is contained in:
2023-10-14 11:59:49 +02:00
parent 1d8e1252bf
commit 7d10ee4c75

View File

@@ -23,6 +23,8 @@ pub fn build(b: *std.Build) void {
.target = target, .target = target,
.optimize = optimize, .optimize = optimize,
}); });
// install man pages along executable
b.installFile("doc/sp.1", "man/man1/sp.1");
// This declares intent for the executable to be installed into the // This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default // standard location when the user invokes the "install" step (the default