]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - share/info/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / share / info / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/5/93
2 # $FreeBSD$
3
4 NO_OBJ=
5
6 .include <bsd.prog.mk>
7
8 beforeinstall:
9 .if !exists(${DESTDIR}${INFODIR})
10         @echo "Warning: the directory ${DESTDIR}${INFODIR} does not exist!"
11         @echo "Perhaps the variable INFODIR is set incorrectly"
12         @echo "or your mtree database files are broken."
13         @echo ""
14         @echo "As a workaround you can create the directory by hand, e.g.:"
15         @echo -n "install -d -o ${INFOOWN} -g ${INFOGRP} "
16         @echo "-m 0755 ${DESTDIR}${INFODIR}"
17         @exit 3;
18 .endif
19 .if !exists(${DESTDIR}${INFODIR}/dir)
20         ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m 644 \
21                  dir-tmpl ${DESTDIR}${INFODIR}/dir
22 .endif