- 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
@ -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