pkgsrc-WIP-changes archive

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

Use INSTALLATION_DIRS instead of ${MKDIR}



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Tue Feb 14 00:32:55 2017 +0100
Changeset:	184cd13324be542b0f07b23b812500df5f21df39

Modified Files:
	py-acme-tiny/Makefile

Log Message:
Use INSTALLATION_DIRS instead of ${MKDIR}

Suggested by wiz@, thanks!

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

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

diffstat:
 py-acme-tiny/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diffs:
diff --git a/py-acme-tiny/Makefile b/py-acme-tiny/Makefile
index dc1a721708..397ad2062b 100644
--- a/py-acme-tiny/Makefile
+++ b/py-acme-tiny/Makefile
@@ -14,14 +14,13 @@ GITHUB_PROJECT=	acme-tiny
 GITHUB_TAG=	daba51d37efd7c1f205f9da383b9b09968e30d29
 
 NO_BUILD=	yes
+INSTALLATION_DIRS=bin share/doc/${PYPKGPREFIX}-acme-tiny
 PLIST_SUBST+=	PYPKGPREFIX=${PYPKGPREFIX}
 
 REPLACE_PYTHON=	acme_tiny.py
 
 do-install:
-	${MKDIR} -m 0755 ${DESTDIR}${PREFIX}/bin
 	${INSTALL} -m 0755 ${WRKSRC}/acme_tiny.py ${DESTDIR}${PREFIX}/bin/acme_tiny
-	${MKDIR} -m 0755 ${DESTDIR}${PREFIX}/share/doc/${PYPKGPREFIX}-acme-tiny
 	${INSTALL} -m 0644 ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/${PYPKGPREFIX}-acme-tiny/README.md
 
 .include "../../lang/python/application.mk"


Home | Main Index | Thread Index | Old Index