From 4f07c1d5630b1ad4aba896d5fb25b38a925491dc Mon Sep 17 00:00:00 2001 From: Jisu-Woniu <31986081+Jisu-Woniu@users.noreply.github.com> Date: Sun, 10 Dec 2023 14:58:34 +0800 Subject: [PATCH] build: :green_heart: Add manpages into deb package with their dependencies in README. --- Cargo.toml | 5 +++++ README.adoc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5a46a52..8b11c38 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,11 @@ assets = [ "/etc/rsjudge/server.toml", "644", ], + [ + "docs/manpages/rsjudge.1", + "/usr/share/man/man1/rsjudge.1", + "644", + ], ] maintainer-scripts = "debian/" depends = "$auto, libc6, libgcc-s1, libstdc++6, libssl1.1, libzstd1, libzstd-dev" diff --git a/README.adoc b/README.adoc index 9b4bdb5..15fa931 100644 --- a/README.adoc +++ b/README.adoc @@ -21,7 +21,8 @@ An online judge sandbox server in Rust, inspired by https://github.com/criyle/go * Rust latest stable toolchain * Linux kernel >= 4.5 -* `dpkg`, `dpkg-dev` and `liblzma-dev` to generate `.deb` package. +* `asciidoctor` to generate manpages +* `dpkg`, `dpkg-dev` and `liblzma-dev` to generate `.deb` package * For gRPC support, the `protoc` Protocol Buffers compiler, along with Protocol Buffers resource files (under `grpc` feature): ==== Debian/Ubuntu