comparison Makefile @ 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
comparison
equal deleted inserted replaced
18:b490ec9eeffe 19:e43dcd367fbf
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 "${.CURDIR}" -q!} 23 HGREVISION:= ${:!hg id -R "${SRC}" -q!}
24 HGROOT:= ${:!basename "${.CURDIR}"!} 24 HGROOT:= ${:!basename "${SRC}"!}
25 HGPATH:= ${:!hg paths -R "${.CURDIR}" default!} 25 HGPATH:= ${:!hg paths -R "${SRC}" default!}
26 26
27 do-extract: 27 do-extract:
28 ${MKDIR} ${WRKSRC}/bin 28 ${MKDIR} ${WRKSRC}/bin
29 ${CP} -R -v ${SRC}/bin/ ${WRKSRC}/bin 29 ${CP} -R -v ${SRC}/bin/ ${WRKSRC}/bin
30 .for _f in check-ports 30 .for _f in check-ports