pkgsrc-WIP-changes archive

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

sds: Install README.md



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Wed Jul 14 13:56:18 2021 +0200
Changeset:	045405ad95ac259178d44f1b91554d6e8368072c

Modified Files:
	sds/Makefile
	sds/PLIST

Log Message:
sds: Install README.md

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

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

diffstat:
 sds/Makefile | 11 +++++++----
 sds/PLIST    |  1 +
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs:
diff --git a/sds/Makefile b/sds/Makefile
index e44e55e0e9..9d9dd79ba0 100644
--- a/sds/Makefile
+++ b/sds/Makefile
@@ -13,13 +13,16 @@ LICENSE=	2-clause-bsd
 USE_LANGUAGES=	c99
 USE_LIBTOOL=	yes
 
-INSTALLATION_DIRS=	lib include
+INSTALLATION_DIRS=	include lib share/doc/sds
 TEST_TARGET=		test
 
 do-install:
-	cd ${WRKSRC} && ${LIBTOOL} --mode=install \
-		${INSTALL_LIB} libsds.la ${DESTDIR}${PREFIX}/lib
-	cd ${WRKSRC} && ${INSTALL_DATA} sds.h ${DESTDIR}${PREFIX}/include/sds.h
+	cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} libsds.la \
+		${DESTDIR}${PREFIX}/lib
+	cd ${WRKSRC} && ${INSTALL_DATA} sds.h \
+		${DESTDIR}${PREFIX}/include/sds.h
+	cd ${WRKSRC} && ${INSTALL_DATA} README.md \
+		${DESTDIR}${PREFIX}/share/doc/sds/README.md
 
 .include "../../wip/mk/git-package.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/sds/PLIST b/sds/PLIST
index 173f8b23ae..74d1421d24 100644
--- a/sds/PLIST
+++ b/sds/PLIST
@@ -1,3 +1,4 @@
 @comment $NetBSD$
 include/sds.h
 lib/libsds.la
+share/doc/sds/README.md


Home | Main Index | Thread Index | Old Index