# HG changeset patch # User Franz Glasner # Date 1511337557 -3600 # Node ID 094324510aa2b5fad76e382be59be19ab87a4b4a # Parent 22b7c9e08b138c967cce14d30f2d07a6633fde3d Got the shell $() syntax to work within make ${:!...!} variables. \$$\(cmd) works. `cmd` also works (of course). diff -r 22b7c9e08b13 -r 094324510aa2 Makefile --- 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