Fix install target
This commit is contained in:
parent
08267f57f3
commit
44e8f83019
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=13156
1 changed files with 7 additions and 6 deletions
|
@ -1,10 +1,10 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD: www/tools/portsgrowth/Makefile,v 1.1 2002/05/20 10:46:13 phantom Exp $
|
||||||
|
|
||||||
.if exists(../../Makefile.conf)
|
.if exists(../../en/Makefile.conf)
|
||||||
.include "../../Makefile.conf"
|
.include "../../en/Makefile.conf"
|
||||||
.endif
|
.endif
|
||||||
.if exists(../../Makefile.inc)
|
.if exists(../../en/Makefile.inc)
|
||||||
.include "../../Makefile.inc"
|
.include "../../en/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
WEB_PREFIX?= ${.CURDIR}/../..
|
WEB_PREFIX?= ${.CURDIR}/../..
|
||||||
|
@ -30,10 +30,11 @@ status.png: ports.plt ports.log
|
||||||
rm ports.png
|
rm ports.png
|
||||||
|
|
||||||
install: ${IMG}
|
install: ${IMG}
|
||||||
|
-mkdir -p ${PRGRAPHDIR}
|
||||||
.if exists(${.CURDIR}/${IMG})
|
.if exists(${.CURDIR}/${IMG})
|
||||||
${INSTALL_WEB} ${.CURDIR}/${IMG} ${PRGRAPHDIR}
|
${INSTALL_WEB} ${.CURDIR}/${IMG} ${PRGRAPHDIR}
|
||||||
.else
|
.else
|
||||||
${INSTALL_WEB} ${IMG} ${PRGRAPHDIR}
|
${INSTALL_WEB} ${IMG} ${PRGRAPHDIR}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include "${WEB_PREFIX}/../share/mk/web.site.mk"
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
||||||
|
|
Loading…
Reference in a new issue