blob: e0a1210aa89a7dfa49687349b4a5adfd332f93c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $OpenBSD: Makefile,v 1.2 1998/11/12 19:15:12 millert Exp $
#
NOOBJ= noobj
FILES= README
DIRS= cf domain feature hack m4 mailer ostype sh siteconfig
install:
@${INSTALL} -d -o ${BINOWN} -g wheel -m 755 \
${DESTDIR}${SHAREDIR}/sendmail
@echo installing ${FILES}
@-for i in ${FILES}; do \
cmp -s $$i ${DESTDIR}${SHAREDIR}/sendmail/$$i || \
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
-m 444 $$i ${DESTDIR}${SHAREDIR}/sendmail/$$i ; \
done
@echo installing ${DIRS}
@-for i in ${DIRS}; do \
${INSTALL} -d -o ${BINOWN} -g wheel -m 755 \
${DESTDIR}${SHAREDIR}/sendmail/$$i; \
(cd $$i; for j in *.m[4c] *.sh Makefile; do \
if [ -f $$j ]; then \
cmp -s $$j ${DESTDIR}${SHAREDIR}/sendmail/$$i/$$j || \
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
-m 444 $$j ${DESTDIR}${SHAREDIR}/sendmail/$$i/$$j; \
fi; \
done); \
done
.include <bsd.prog.mk>
|