pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cloud-nuke: Install the README



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Apr 21 22:10:08 2021 +0200
Changeset:	3ca8d6d456c831f57813a76e977a52a1c635f81d

Modified Files:
	cloud-nuke/Makefile
	cloud-nuke/PLIST

Log Message:
cloud-nuke: Install the README

Except possible `help' option/subcommand there is no documentation... README
contains useful information and mostly cover completely the tool, install it
too.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3ca8d6d456c831f57813a76e977a52a1c635f81d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cloud-nuke/Makefile | 5 +++++
 cloud-nuke/PLIST    | 1 +
 2 files changed, 6 insertions(+)

diffs:
diff --git a/cloud-nuke/Makefile b/cloud-nuke/Makefile
index 5a0c640701..c62e24488a 100644
--- a/cloud-nuke/Makefile
+++ b/cloud-nuke/Makefile
@@ -12,6 +12,11 @@ LICENSE=	mit
 
 GO_BUILD_PATTERN+=	.
 
+INSTALLATION_DIRS+=	share/doc/cloud-nuke
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/cloud-nuke
+
 .include "go-modules.mk"
 
 .include "../../lang/go/go-module.mk"
diff --git a/cloud-nuke/PLIST b/cloud-nuke/PLIST
index 6a8aabf5e8..36ebe1cb7b 100644
--- a/cloud-nuke/PLIST
+++ b/cloud-nuke/PLIST
@@ -1,2 +1,3 @@
 @comment $NetBSD$
 bin/cloud-nuke
+share/doc/cloud-nuke/README.md


Home | Main Index | Thread Index | Old Index