diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-10-11 07:31:03 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-10-11 07:31:03 +0000 |
commit | 1d3687b6656612cfc2978a0c8b555917f112092f (patch) | |
tree | ea6fc2c5ac0b41f8631a9fb33393144a75fb9c23 /share/sendmail/Makefile | |
parent | a3e2592c647769c47854dff17917f83807617535 (diff) | |
download | src-1d3687b6656612cfc2978a0c8b555917f112092f.tar.gz src-1d3687b6656612cfc2978a0c8b555917f112092f.zip |
This commit was manufactured by cvs2svn to create branch 'RELENG_4'.
Notes
Notes:
svn path=/stable/4/; revision=66966
Diffstat (limited to 'share/sendmail/Makefile')
-rw-r--r-- | share/sendmail/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/share/sendmail/Makefile b/share/sendmail/Makefile new file mode 100644 index 000000000000..e7a52881ac6a --- /dev/null +++ b/share/sendmail/Makefile @@ -0,0 +1,33 @@ +# $FreeBSD$ +# +# Doing a make install builds /usr/share/sendmail/ + +SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail +CFDIR= cf +CFDIRS!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type d -print) +CFFILES!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type f -print) + +DDIR= ${DESTDIR}/usr/share/sendmail + +NOOBJ= noobj + +# Define SHARED to indicate whether you want symbolic links to the system +# source (``symlinks''), or a separate copy (``copies'') +SHARED?= copies + +all clean cleandir depend lint tags: + +beforeinstall: ${SHARED} + +copies:: +.for dir in ${CFDIRS} + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 -d ${SENDMAIL_DIR}/${dir} ${DDIR}/${dir} +.endfor +.for file in ${CFFILES} + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file} +.endfor + +symlinks:: + rm -rf ${DDIR}/${CFDIR}; ln -s ${SENDMAIL_DIR}/${CFDIR} ${DDIR}/${CFDIR} + +.include <bsd.prog.mk> |