Makefile revision 94984
1# @(#)Makefile 8.1 (Berkeley) 6/5/93 2# $FreeBSD: head/share/info/Makefile 94984 2002-04-18 06:55:32Z 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) 20 ${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ 21 dir-tmpl ${DESTDIR}${INFODIR}/dir 22.endif 23