pkgsrc-WIP-changes archive

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

ircd-hybrid: Use INSTALL_DIRS to create all directories



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Thu Jan 31 14:02:18 2019 +0100
Changeset:	7b438b37df4ff4bd4a9e1b2d85ba8665e15a1231

Modified Files:
	ircd-hybrid/Makefile

Log Message:
ircd-hybrid: Use INSTALL_DIRS to create all directories

Avoid a INSTALL_DATA_DIR, while here appends to INSTALLATION_DIRS
all ${DOCDIR} directories and subdirectories used.

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

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

diffstat:
 ircd-hybrid/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diffs:
diff --git a/ircd-hybrid/Makefile b/ircd-hybrid/Makefile
index 493c634841..c522bb8a23 100644
--- a/ircd-hybrid/Makefile
+++ b/ircd-hybrid/Makefile
@@ -22,7 +22,7 @@ RCD_SCRIPTS=		ircd-hybrid
 
 DOCDIR=			share/doc/ircd-hybrid
 
-INSTALLATION_DIRS+=	${DOCDIR}/doc
+INSTALLATION_DIRS+=	${DOCDIR} ${DOCDIR}/doc ${DOCDIR}/doc/technical
 
 OWN_DIRS_PERMS+=	${VARBASE}/log/ircd-hybrid \
 			${IRCD_HYBRID_IRC_USER} ${IRCD_HYBRID_IRC_GROUP} 0770
@@ -74,7 +74,6 @@ post-install:
 
 	${INSTALL_DATA} ${WRKSRC}/doc/*.conf ${DESTDIR}${PREFIX}/${DOCDIR}/doc
 	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/${DOCDIR}/doc
-	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}/doc/technical
 	${INSTALL_DATA} ${WRKSRC}/doc/technical/*.txt ${DESTDIR}${PREFIX}/${DOCDIR}/doc/technical
 
 	${MV} ${DESTDIR}${PREFIX}/bin/mkpasswd \


Home | Main Index | Thread Index | Old Index