Make sure realinstall works when ${.OBJDIR} != ${.CURDIR}.
This commit is contained in:
parent
64afb48f6c
commit
97e0102665
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115098
@ -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…
Reference in New Issue
Block a user