comparison Makefile @ 27:a105a7fc801f

Remove early evaluation of Mercurial data because clean should work w/o Mercurial
author Franz Glasner <hg@dom66.de>
date Fri, 17 Nov 2017 09:37:04 +0100
parents 26eb2f62d6a3
children 735044a0a8c0
comparison
equal deleted inserted replaced
26:26eb2f62d6a3 27:a105a7fc801f
18 18
19 SRC= ${.CURDIR} 19 SRC= ${.CURDIR}
20 20
21 PLIST_FILES= bin/check-ports 21 PLIST_FILES= bin/check-ports
22 22
23 HGREVISION:= ${:!hg id -R "${SRC}" -q!} 23 HGREVISION= ${:!hg id -R "${SRC}" -q!}
24 HGDATE:= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!} 24 HGDATE= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!}
25 HGAUTHOR:= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{author|person}'!} 25 HGAUTHOR= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{author|person}'!}
26 HGPATH:= ${:!hg paths -R "${SRC}" default!} 26 HGPATH= ${:!hg paths -R "${SRC}" default!}
27 27
28 do-extract: 28 do-extract:
29 ${MKDIR} ${WRKSRC}/bin 29 ${MKDIR} ${WRKSRC}/bin
30 .for _rp in ${PLIST_FILES} 30 .for _rp in ${PLIST_FILES}
31 ${CP} -v ${SRC}/${_rp} ${WRKSRC}/${_rp} 31 ${CP} -v ${SRC}/${_rp} ${WRKSRC}/${_rp}