aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenil <dedaniahenil@gmail.com>2021-01-23 11:32:41 +0530
committerhenil <dedaniahenil@gmail.com>2021-01-23 11:32:41 +0530
commitda5317274e810ce308158e7e50a5c96182dd043f (patch)
tree0c704be66dd740e71881750671bf64f7f4e9a325
parentAdd metadata to Cargo.toml for building deb packages (diff)
downloadsl0ppij-da5317274e810ce308158e7e50a5c96182dd043f.tar.gz
sl0ppij-da5317274e810ce308158e7e50a5c96182dd043f.tar.xz
sl0ppij-da5317274e810ce308158e7e50a5c96182dd043f.zip
Add `depends` field
-rw-r--r--Cargo.toml5
1 files changed, 3 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index d499c8f0..88baed1a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -42,12 +42,13 @@ structopt = "0.3"
lto = true
[package.metadata.deb]
+depends = "$auto"
+license-file = ["LICENSE.md", "4"]
assets = [
# TODO?
# ["assets/man/mosaic.1", "usr/share/man/man1/mosaic.1", "644"],
["target/release/mosaic", "usr/bin/mosaic", "755"],
- ["LICENSE.md", "usr/share/doc/mosaic/", "644"],
- ["GOVERNANCE.md", "usr/share/doc/mosaic/", "644"],
+ ["GOVERNANCE.md", "usr/share/doc/mosaic/GOVERNANCE.md", "644"],
["README.md", "usr/share/doc/mosaic/README", "644"],
["assets/layouts/*", "/usr/share/mosaic/layouts/", "644"],
["assets/plugins/*", "/usr/share/mosaic/plugins/", "644"],