changeset 44:094324510aa2

Got the shell $(<cmd>) syntax to work within make ${:!...!} variables. \$$\(cmd) works. `cmd` also works (of course).
author Franz Glasner <hg@dom66.de>
date Wed, 22 Nov 2017 08:59:17 +0100
parents 22b7c9e08b13
children 1066c046c93b
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Nov 22 08:54:51 2017 +0100
+++ b/Makefile	Wed Nov 22 08:59:17 2017 +0100
@@ -27,7 +27,7 @@
 HGREVISION=	${:!hg id -R "${SRC}" -q!}
 HGDATE=		${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!}
 HGAUTHOR=	${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{author|person}' | ${TR} ' ' '+'!}
-HGPATH=		${:!hg --config ui.paginate=never path -R "${SRC}" ${HGCANONICALPATH} || echo "file://`hg root`"!}
+HGPATH=		${:!hg --config ui.paginate=never path -R "${SRC}" ${HGCANONICALPATH} || echo "file://\$$\(hg root)"!}
 
 do-extract:
 	${MKDIR} ${WRKSRC}/bin