mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
INFODIR is defined in bsd.own.mk but sys.mk no longer includes
bsd.own.mk as of share/mk/sys.mk,v 1.60. I did not notice this because I tested with DESTDIR=/foo/5.0, and the "exists(/foo/5.0)" test apparently succeeded. Reported by: fenner
This commit is contained in:
parent
10c51522ed
commit
96f1512e70
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94984
|
@ -3,6 +3,8 @@
|
|||
|
||||
NOOBJ= noobj
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
beforeinstall:
|
||||
.if !exists(${DESTDIR}${INFODIR})
|
||||
@echo "Warning: the directory ${DESTDIR}${INFODIR} does not exist!"
|
||||
|
@ -18,5 +20,3 @@ beforeinstall:
|
|||
${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
|
||||
dir-tmpl ${DESTDIR}${INFODIR}/dir
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
Loading…
Reference in a new issue