Deleted Added
full compact
Makefile (100313) Makefile (100872)
1# @(#)Makefile 8.1 (Berkeley) 6/5/93
1# @(#)Makefile 8.1 (Berkeley) 6/5/93
2# $FreeBSD: head/share/info/Makefile 100313 2002-07-18 12:07:49Z ru $
2# $FreeBSD: head/share/info/Makefile 100872 2002-07-29 09:40:17Z ru $
3
4NOOBJ= noobj
5
6.include <bsd.prog.mk>
7
8beforeinstall:
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)
3
4NOOBJ= noobj
5
6.include <bsd.prog.mk>
7
8beforeinstall:
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} ${COPY} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
20 ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
21 dir-tmpl ${DESTDIR}${INFODIR}/dir
22.endif
21 dir-tmpl ${DESTDIR}${INFODIR}/dir
22.endif