1# $FreeBSD: head/share/sendmail/Makefile 100313 2002-07-18 12:07:49Z ru $
| 1# $FreeBSD: head/share/sendmail/Makefile 100872 2002-07-29 09:40:17Z ru $
|
2# 3# Doing a make install builds /usr/share/sendmail/ 4 5MAINTAINER= gshapiro@FreeBSD.org 6 7SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 8CFDIR= cf 9CFDIRS!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type d -print) 10CFFILES!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type f -print) 11 12DDIR= ${DESTDIR}/usr/share/sendmail 13 14NOOBJ= noobj 15 16# Define SHARED to indicate whether you want symbolic links to the system 17# source (``symlinks''), or a separate copy (``copies'') 18SHARED?= copies 19 20all clean cleandir depend lint tags: 21 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}
| 2# 3# Doing a make install builds /usr/share/sendmail/ 4 5MAINTAINER= gshapiro@FreeBSD.org 6 7SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 8CFDIR= cf 9CFDIRS!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type d -print) 10CFFILES!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type f -print) 11 12DDIR= ${DESTDIR}/usr/share/sendmail 13 14NOOBJ= noobj 15 16# Define SHARED to indicate whether you want symbolic links to the system 17# source (``symlinks''), or a separate copy (``copies'') 18SHARED?= copies 19 20all clean cleandir depend lint tags: 21 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} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file}
| 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>
| 30.endfor 31 32symlinks:: 33 rm -rf ${DDIR}/${CFDIR}; ln -s ${SENDMAIL_DIR}/${CFDIR} ${DDIR}/${CFDIR} 34 35.include <bsd.prog.mk>
|