kernel - Fix some rare pmap races in i386 and x86_64 (followup)
[dragonfly.git] / share / info / Makefile
bloba9cab58acc924a3a4ed4518b5d8169371cf15d2d
1 # @(#)Makefile 8.1 (Berkeley) 6/5/93
2 # $FreeBSD: src/share/info/Makefile,v 1.9.2.3 2002/08/07 16:31:50 ru Exp $
3 # $DragonFly: src/share/info/Makefile,v 1.2 2003/06/17 04:36:58 dillon Exp $
5 NOOBJ= noobj
7 .include <bsd.prog.mk>
9 beforeinstall:
10 .if !exists(${DESTDIR}${INFODIR})
11 @echo "Warning: the directory ${DESTDIR}${INFODIR} does not exist!"
12 @echo "Perhaps the variable INFODIR is set incorrectly"
13 @echo "or your mtree database files are broken."
14 @echo ""
15 @echo "As a workaround you can create the directory by hand, e.g.:"
16 @echo -n "install -d -o ${INFOOWN} -g ${INFOGRP} "
17 @echo "-m 0755 ${DESTDIR}${INFODIR}"
18 @exit 3;
19 .endif
20 .if !exists(${DESTDIR}${INFODIR}/dir)
21 ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
22 dir-tmpl ${DESTDIR}${INFODIR}/dir
23 .endif