Skip to content

Commit

Permalink
build: 💚 Add manpages into deb package with their dependencies in REA…
Browse files Browse the repository at this point in the history
…DME.
  • Loading branch information
Jisu-Woniu committed Dec 10, 2023
1 parent e569d73 commit 4f07c1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f07c1d

Please sign in to comment.