Makefile revision 56538
1# @(#)Makefile 8.1 (Berkeley) 6/5/93 2# $FreeBSD: head/share/info/Makefile 56538 2000-01-24 16:14:32Z ru $ 3 4NOOBJ= noobj 5 6beforeinstall: 7.if !exists(${DESTDIR}${INFODIR}) 8 @echo "Warning: the directory ${DESTDIR}${INFODIR} does not exist!" 9 @echo "Perhaps the variable INFODIR is set incorrectly" 10 @echo "or your mtree database files are broken." 11 @echo "" 12 @echo "As a workaround you can create the directory by hand, e.g.:" 13 @echo -n "install -d -o ${INFOOWN} -g ${INFOGRP} " 14 @echo "-m 0755 ${DESTDIR}${INFODIR}" 15 @exit 3; 16.endif 17.if !exists(${DESTDIR}${INFODIR}/dir) 18 ${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ 19 dir-tmpl ${DESTDIR}${INFODIR}/dir 20.endif 21 22.include <bsd.prog.mk> 23