From d9d3e2c85fa34f34fe4b4ca7ec3994e256fcfb4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sun, 25 Jan 2004 19:11:43 +0000 Subject: [PATCH] Fix the case where .OBJDIR != .CURDIR. --- tools/tools/tinderbox/www/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/tools/tinderbox/www/Makefile b/tools/tools/tinderbox/www/Makefile index b153655819e3..acb4c877c430 100644 --- a/tools/tools/tinderbox/www/Makefile +++ b/tools/tools/tinderbox/www/Makefile @@ -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