Makefile revision 100872
1105251Smarkm# $FreeBSD: head/share/sendmail/Makefile 100872 2002-07-29 09:40:17Z ru $ 2105251Smarkm# 3105251Smarkm# Doing a make install builds /usr/share/sendmail/ 4105251Smarkm 5105251SmarkmMAINTAINER= gshapiro@FreeBSD.org 6105251Smarkm 7143423SumeSENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 8105251SmarkmCFDIR= cf 9169425SgnnCFDIRS!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type d -print) 10105251SmarkmCFFILES!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type f -print) 11105251Smarkm 12167764SsamDDIR= ${DESTDIR}/usr/share/sendmail 13123557Sbms 14143423SumeNOOBJ= noobj 15212496Sivoras 16105251Smarkm# Define SHARED to indicate whether you want symbolic links to the system 17105251Smarkm# source (``symlinks''), or a separate copy (``copies'') 18167764SsamSHARED?= copies 19201742Sbz 20169425Sgnnall clean cleandir depend lint tags: 21105251Smarkm 22beforeinstall: ${SHARED} 23 24copies:: 25.for dir in ${CFDIRS} 26 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 -d ${DDIR}/${dir} 27.endfor 28.for file in ${CFFILES} 29 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file} 30.endfor 31 32symlinks:: 33 rm -rf ${DDIR}/${CFDIR}; ln -s ${SENDMAIL_DIR}/${CFDIR} ${DDIR}/${CFDIR} 34 35.include <bsd.prog.mk> 36