Use INFO* variables.
This commit is contained in:
parent
32bebd8d26
commit
19a80d07de
@ -1,15 +1,16 @@
|
|||||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||||
|
# $Id$
|
||||||
|
|
||||||
NOOBJ= noobj
|
NOOBJ= noobj
|
||||||
|
|
||||||
all clean cleandir depend lint tags:
|
all clean cleandir depend lint tags:
|
||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 dir-tmpl \
|
${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} dir-tmpl \
|
||||||
${DESTDIR}${BINDIR}/info/dir-tmpl
|
${DESTDIR}${INFODIR}/dir-tmpl
|
||||||
if [ ! -f ${DESTDIR}${BINDIR}/info/dir ]; then \
|
.if !exists(${DESTDIR}${INFODIR}/dir)
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 dir-tmpl \
|
${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
|
||||||
${DESTDIR}${BINDIR}/info/dir ; \
|
dir-tmpl ${DESTDIR}${INFODIR}/dir
|
||||||
fi
|
.endif
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user