summaryrefslogtreecommitdiff
path: root/lib/librpcsvc/Makefile
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-06-23 18:50:54 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-06-23 18:50:54 +0000
commit28f3c3e5c954c2a9045002b84dff2c0a67167d7b (patch)
tree4362c1feab649b1b59cd92fbf490b541f0396207 /lib/librpcsvc/Makefile
parent7484afdb022ff3fd52003d8ec4746710906cbb97 (diff)
make sure .x and .h do not get installed on the split of the seconds and make will not freak out; found by espie@ and deraadt@ ok
Diffstat (limited to 'lib/librpcsvc/Makefile')
-rw-r--r--lib/librpcsvc/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/librpcsvc/Makefile b/lib/librpcsvc/Makefile
index 2c505c8a9ca..48477b34b13 100644
--- a/lib/librpcsvc/Makefile
+++ b/lib/librpcsvc/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.6 2003/06/19 20:30:54 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 2003/06/23 18:50:53 mickey Exp $
-RPCSRCS= bootparam_prot.x klm_prot.x mount.x nfs_prot.x\
- nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x\
+RPCSRCS= bootparam_prot.x klm_prot.x mount.x nfs_prot.x \
+ nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x \
sm_inter.x spray.x yp.x yppasswd.x
SRCS= ${RPCSRCS:R:S/$/.c/g}
HDRS= ${RPCSRCS:R:S/$/.h/g}
@@ -19,14 +19,14 @@ includes: ${HDRS}
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
${DESTDIR}/usr/include/rpcsvc
@echo installing rpc .h and .x files
- @for i in $(HDRS); do \
- cmp -s $$i ${DESTDIR}/usr/include/rpcsvc/$$i || \
+ @(cd ${.CURDIR}; for i in $(RPCSRCS); do \
+ cmp -s $(.CURDIR)/$$i ${DESTDIR}/usr/include/rpcsvc/$$i || \
{ j="${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
${DESTDIR}/usr/include/rpcsvc"; \
echo $$j; $$j; } \
- done
- @cd ${.CURDIR}; for i in $(RPCSRCS); do \
- cmp -s $(.CURDIR)/$$i ${DESTDIR}/usr/include/rpcsvc/$$i || \
+ done)
+ @sleep 1; for i in $(HDRS); do \
+ cmp -s $$i ${DESTDIR}/usr/include/rpcsvc/$$i || \
{ j="${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
${DESTDIR}/usr/include/rpcsvc"; \
echo $$j; $$j; } \