mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
- Include bsd.own.mk early so existsence check using ${SHAREDIR}
actually works. - Touch /usr/share/tmac/man.local if it already exists. MFC after: 3 days
This commit is contained in:
parent
7eeb0bd711
commit
ae862803e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161281
@ -1,5 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk> # SHAREDIR
|
||||
|
||||
TMACOWN?= ${BINOWN}
|
||||
TMACGRP?= ${BINGRP}
|
||||
TMACMODE?= ${NOBINMODE}
|
||||
@ -78,6 +80,8 @@ beforeinstall:
|
||||
.if !exists(${DESTDIR}${TMACDIR}/man.local)
|
||||
${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
|
||||
${DIST_DIR}/man.local ${DESTDIR}${TMACDIR}
|
||||
.else
|
||||
@:>>${DESTDIR}${TMACDIR}/man.local
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user