- Replace lnc(4) driver with NetBSD's le(4), which gives us better performance,
[dragonfly.git] / share / info / Makefile
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 $
4
5 NOOBJ=  noobj
6
7 .include <bsd.prog.mk>
8
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