build: install man pages

No gzip, let distros compress if they want to
This commit is contained in:
Isaac Freund 2020-06-05 13:48:07 +02:00
parent 59d0fb7fba
commit 51b00ac6a9
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11

View file

@ -25,6 +25,10 @@ pub fn build(b: *std.build.Builder) !void {
const scan_protocols = ScanProtocolsStep.create(b);
// Install man pages, no gzip for now
b.installFile("doc/river.1", "share/man/man1/river.1");
b.installFile("doc/riverctl.1", "share/man/man1/riverctl.1");
{
const river = b.addExecutable("river", "river/main.zig");
river.setTarget(target);