Skip to content

Commit 40b7d6f

Browse files
committed
add Makefile with packaging commands
1 parent e4bdd4b commit 40b7d6f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.5.0"
44
authors = ["Sergey Golovin <golovim@gmail.com>"]
55
edition = "2018"
66
license = "MIT"
7-
description = "The right tool for documentation generating"
7+
description = "fundoc - is a documentation generator that helps you keep your documentation up-to-date."
88
readme = "README.md"
99
homepage = "https://github.com/CSSSR/fundoc"
1010
repository = "https://github.com/CSSSR/fundoc"
@@ -25,3 +25,8 @@ dialoguer = "0.10.3"
2525
url = "2.3.1"
2626
rlua = "0.19.4"
2727

28+
[package.metadata.generate-rpm]
29+
assets = [
30+
{ source = "target/release/fundoc", dest = "/usr/bin/fundoc", mode = "755" },
31+
{ source = "./images/logo.png", dest = "/usr/share/icons/hicolor/", mode = "644" },
32+
]

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pack:
2+
cargo deb
3+
cargo generate-rpm
4+
5+
.PHONY: pack

0 commit comments

Comments
 (0)