X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/8a12b5cd2b2fe5beb2cb72ecda8b51a707ea80f8..d843a0b2c2590b96781a6c12af6c856b8056bf64:/Cargo.toml diff --git a/Cargo.toml b/Cargo.toml index 742098f..ebec913 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,10 @@ name = "page" version = "1.3.1" edition = "2021" +license = "AGPL-3.0-or-later" +description = "Command line tool to generate a static website and gemini capsule from a directory with gemtext." +homepage = "https://r.bdr.sh/page.html" +authors = ["Rubén Beltrán del Río "] [dependencies] @@ -9,3 +13,15 @@ edition = "2021" strip = true lto = true panic = "abort" + +[package.metadata.generate-rpm] +assets = [ + { source = "target/release/page", dest = "/usr/bin/page", mode = "755" }, + { source = "man/page.1", dest = "/usr/share/man/man1/page.1", mode = "644" }, +] + +[package.metadata.deb] +assets = [ + ["target/release/page", "/usr/bin/page", "755" ], + ["man/page.1", "/usr/share/man/man1/page.1", "644" ], +]