Makefile revision 35903
121503Sjmacd# @(#)Makefile 8.1 (Berkeley) 6/5/93 235903Swosch# $Id: Makefile,v 1.5 1998/01/03 14:06:26 wosch Exp $ 321503Sjmacd 421503SjmacdNOOBJ= noobj 521503Sjmacd 621503Sjmacdall clean cleandir depend lint tags: 721503Sjmacd 821503Sjmacdbeforeinstall: 935903Swosch.if !exists(${DESTDIR}${INFODIR}) 1035903Swosch @echo "Warning: the directory ${DESTDIR}${INFODIR} does not exist!" 1135903Swosch @echo "Perhaps the variable INFODIR is set incorrectly" 1235903Swosch @echo "or your mtree database files are broken." 1335903Swosch @echo "" 1435903Swosch @echo "As a workaround you can create the directory by hand, e.g.:" 1535903Swosch @echo -n "install -d -o ${INFOOWN} -g ${INFOGRP} " 1635903Swosch @echo "-m 0755 ${DESTDIR}${INFODIR}" 1735903Swosch @exit 3; 1835903Swosch.endif 1932212Swosch ${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} dir-tmpl \ 2032212Swosch ${DESTDIR}${INFODIR}/dir-tmpl 2132212Swosch.if !exists(${DESTDIR}${INFODIR}/dir) 2232212Swosch ${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ 2332212Swosch dir-tmpl ${DESTDIR}${INFODIR}/dir 2432212Swosch.endif 2521503Sjmacd 2621503Sjmacd.include <bsd.prog.mk> 27