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 $
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."
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}"
20 .if
!exists
(${DESTDIR}${INFODIR}/dir)
21 ${INSTALL} -o
${INFOOWN} -g
${INFOGRP} -m
${INFOMODE} \
22 dir-tmpl
${DESTDIR}${INFODIR}/dir