summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Freydank <holgersson@posteo.de>2021-01-28 10:14:50 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-01-28 10:16:38 +0200
commit26a6855ce33f22a6fd54e795e916d7eee0128040 (patch)
treeb836fcf8473c9a3add43536b0c7065f66865d513
parentdev-vcs/git-lfs: remove old 2.12.1 (diff)
downloadgentoo-26a6855c.tar.gz
gentoo-26a6855c.tar.bz2
gentoo-26a6855c.zip
dev-vcs/git-lfs: Update live ebuild
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Nils Freydank <holgersson@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/18731 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--dev-vcs/git-lfs/git-lfs-9999.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/dev-vcs/git-lfs/git-lfs-9999.ebuild b/dev-vcs/git-lfs/git-lfs-9999.ebuild
index f5a948c8f4fd..641f9c79a60b 100644
--- a/dev-vcs/git-lfs/git-lfs-9999.ebuild
+++ b/dev-vcs/git-lfs/git-lfs-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -25,6 +25,14 @@ RDEPEND="dev-vcs/git"
RESTRICT+=" !test? ( test )"
+DOCS=(
+ CHANGELOG.md
+ CODE-OF-CONDUCT.md
+ CONTRIBUTING.md
+ README.md
+ SECURITY.md
+)
+
src_compile() {
# Flags -w, -s: Omit debugging information to reduce binary size,
# see https://golang.org/cmd/link/.
@@ -41,7 +49,7 @@ src_compile() {
src_install() {
dobin git-lfs
- dodoc {CHANGELOG,CODE-OF-CONDUCT,CONTRIBUTING,README}.md
+ einstalldocs
use doc && doman docs/man/*.1
}