Fix the case where .OBJDIR != .CURDIR.

This commit is contained in:
Dag-Erling Smørgrav 2004-01-25 19:11:43 +00:00
parent f138711f07
commit d9d3e2c85f

View File

@ -12,8 +12,11 @@ all: ${IMAGES}
realinstall:
${INSTALL} -m0755 -o${WWWOWN} -g${WWWGRP} ${.CURDIR}/${CGI} ${WWWDIR}
.for FILE in ${DATA} ${IMAGES}
${INSTALL} -m0644 -o${WWWOWN} -g${WWWGRP} ${.CURDIR}/${FILE} ${WWWDIR}
.for _data in ${DATA}
${INSTALL} -m0644 -o${WWWOWN} -g${WWWGRP} ${.CURDIR}/${_data} ${WWWDIR}
.endfor
.for _image in ${IMAGES}
${INSTALL} -m0644 -o${WWWOWN} -g${WWWGRP} ${_image} ${WWWDIR}
.endfor
${IMAGES}: ${.TARGET}.uu