Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison Makefile @ 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 | 0faf9da37186 |
comparison
equal
deleted
inserted
replaced
| 43:22b7c9e08b13 | 44:094324510aa2 |
|---|---|
| 25 | 25 |
| 26 HGCANONICALPATH?= default | 26 HGCANONICALPATH?= default |
| 27 HGREVISION= ${:!hg id -R "${SRC}" -q!} | 27 HGREVISION= ${:!hg id -R "${SRC}" -q!} |
| 28 HGDATE= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!} | 28 HGDATE= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!} |
| 29 HGAUTHOR= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{author|person}' | ${TR} ' ' '+'!} | 29 HGAUTHOR= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{author|person}' | ${TR} ' ' '+'!} |
| 30 HGPATH= ${:!hg --config ui.paginate=never path -R "${SRC}" ${HGCANONICALPATH} || echo "file://`hg root`"!} | 30 HGPATH= ${:!hg --config ui.paginate=never path -R "${SRC}" ${HGCANONICALPATH} || echo "file://\$$\(hg root)"!} |
| 31 | 31 |
| 32 do-extract: | 32 do-extract: |
| 33 ${MKDIR} ${WRKSRC}/bin | 33 ${MKDIR} ${WRKSRC}/bin |
| 34 .for _rp in ${PLIST_FILES} | 34 .for _rp in ${PLIST_FILES} |
| 35 ${CP} -v ${SRC}/${_rp} ${WRKSRC}/${_rp} | 35 ${CP} -v ${SRC}/${_rp} ${WRKSRC}/${_rp} |
