summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/ypinit/Makefile
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>1997-04-20 10:00:28 +0000
committerMats O Jansson <maja@cvs.openbsd.org>1997-04-20 10:00:28 +0000
commitbfa71ddd2838e30ca99115b407bc506717f55041 (patch)
treed284271e1be6e16763f420a3f7131fad43666951 /usr.sbin/ypserv/ypinit/Makefile
parente5914fa729b468482334bfc3a69cd81d5d7dee08 (diff)
Added man page, support for amd.home and ypservers.
Integrated some code from ypinit in NetBSD (thorpej@netbsd.org).
Diffstat (limited to 'usr.sbin/ypserv/ypinit/Makefile')
-rw-r--r--usr.sbin/ypserv/ypinit/Makefile23
1 files changed, 18 insertions, 5 deletions
diff --git a/usr.sbin/ypserv/ypinit/Makefile b/usr.sbin/ypserv/ypinit/Makefile
index a3eb8071299..2e77c95d9d0 100644
--- a/usr.sbin/ypserv/ypinit/Makefile
+++ b/usr.sbin/ypserv/ypinit/Makefile
@@ -1,13 +1,26 @@
-# $OpenBSD: Makefile,v 1.9 1996/12/08 15:00:08 downsj Exp $
+# $OpenBSD: Makefile,v 1.10 1997/04/20 10:00:19 maja Exp $
-NOOBJ= noobj
+MAN= ypinit.8
+
+DISTFILES= Makefile.main Makefile.yp
+SHFILES= ypinit.sh
install:
+.for script in ${SHFILES}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/ypinit.sh ${DESTDIR}/usr/sbin/ypinit
+ ${.CURDIR}/${script} ${DESTDIR}${BINDIR}/${script:R}
+.endfor
+.for script in ${DISTFILES}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/Makefile.yp ${DESTDIR}/var/yp/Makefile.yp
+ ${.CURDIR}/${script} ${DESTDIR}/var/yp/${script}.dist
+.endfor
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${.CURDIR}/README ${DESTDIR}/var/yp/README
+
+distribution:
+.for script in ${DISTFILES}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/Makefile.main ${DESTDIR}/var/yp/Makefile.main
+ ${.CURDIR}/${script} ${DESTDIR}/var/yp/${script}
+.endfor
.include <bsd.prog.mk>