From f073845867339611311cc229f04f9cdc8e93d1a8 Mon Sep 17 00:00:00 2001 From: des Date: Sat, 17 May 2003 14:15:59 +0000 Subject: Make sure realinstall works when ${.OBJDIR} != ${.CURDIR}. --- tools/tools/tinderbox/www/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/tools/tinderbox/www/Makefile b/tools/tools/tinderbox/www/Makefile index ba40ed9..ca9d4e8 100644 --- a/tools/tools/tinderbox/www/Makefile +++ b/tools/tools/tinderbox/www/Makefile @@ -5,7 +5,9 @@ DATA = tb.css valid-css.gif valid-xhtml10.png WWWDIR ?= ${HOME}/public_html realinstall: - ${INSTALL} -m 0755 ${CGI} ${WWWDIR} - ${INSTALL} -m 0644 ${DATA} ${WWWDIR} + ${INSTALL} -m 0755 ${.CURDIR}/${CGI} ${WWWDIR} +.for FILE in ${DATA} + ${INSTALL} -m 0644 ${.CURDIR}/${FILE} ${WWWDIR} +.endfor .include -- cgit v1.1