Make sure realinstall works when ${.OBJDIR} != ${.CURDIR}.
This commit is contained in:
parent
64afb48f6c
commit
97e0102665
@ -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 <bsd.prog.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user