From 51b00ac6a9058151861a9a00f6f22e8abe755d37 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Fri, 5 Jun 2020 13:48:07 +0200 Subject: [PATCH] build: install man pages No gzip, let distros compress if they want to --- build.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.zig b/build.zig index 89f9d9d..dd4e721 100644 --- a/build.zig +++ b/build.zig @@ -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);