changeset 19:e43dcd367fbf

Use "SRC" instead of ".CURDIR" in all dependent rules
author Franz Glasner <hg@dom66.de>
date Fri, 27 Oct 2017 09:14:37 +0200
parents b490ec9eeffe
children ba847d423427
files Makefile
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Oct 27 09:09:18 2017 +0200
+++ b/Makefile	Fri Oct 27 09:14:37 2017 +0200
@@ -20,9 +20,9 @@
 
 PLIST_FILES=	bin/check-ports
 
-HGREVISION:=	${:!hg id -R "${.CURDIR}" -q!}
-HGROOT:=	${:!basename "${.CURDIR}"!}
-HGPATH:=	${:!hg paths -R "${.CURDIR}" default!}
+HGREVISION:=	${:!hg id -R "${SRC}" -q!}
+HGROOT:=	${:!basename "${SRC}"!}
+HGPATH:=	${:!hg paths -R "${SRC}" default!}
 
 do-extract:
 	${MKDIR} ${WRKSRC}/bin