summaryrefslogtreecommitdiffstats
path: root/include/rpcsvc
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-08-29 19:59:48 +0000
committerpeter <peter@FreeBSD.org>1996-08-29 19:59:48 +0000
commit7affd2accc6c59ac495fc9942425f4ada071c3c2 (patch)
treee5afa2cbd092ebebeddee36e9365d6f337fa3d15 /include/rpcsvc
parentb42de8a6258e3e553d94b9b70fe1d9821bec7cb7 (diff)
downloadFreeBSD-src-7affd2accc6c59ac495fc9942425f4ada071c3c2.zip
FreeBSD-src-7affd2accc6c59ac495fc9942425f4ada071c3c2.tar.gz
replace cmp -s || install with ${INSTALL} -C, and @for with .for
Diffstat (limited to 'include/rpcsvc')
-rw-r--r--include/rpcsvc/Makefile31
1 files changed, 10 insertions, 21 deletions
diff --git a/include/rpcsvc/Makefile b/include/rpcsvc/Makefile
index 22f49d5..e9acb6d 100644
--- a/include/rpcsvc/Makefile
+++ b/include/rpcsvc/Makefile
@@ -1,5 +1,5 @@
# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
-# $Id: Makefile,v 1.7 1995/08/15 20:06:50 joerg Exp $
+# $Id: Makefile,v 1.8 1996/06/05 03:47:18 wpaul Exp $
.SUFFIXES: .x
@@ -15,31 +15,20 @@ XFILES= bootparam_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \
HFILES= yp_prot.h ypclnt.h
CLEANFILES+= ${HDRS}
-RPCDIR= ${DESTDIR}/usr/include/rpcsvc
-EVERYTHING= $(XFILES) $(HFILES)
all: ${HDRS}
-install: all
- @${ECHO} "Installing RPC service header and definition files"
-.for i in $(EVERYTHING)
- @cd ${.CURDIR}; cmp -s $i $(RPCDIR)/$i || \
- (${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
- $i ${RPCDIR}; \
- $(ECHO) $i)
-.endfor
-.for i in $(HDRS)
- @cmp -s $i $(RPCDIR)/$i || \
- (${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
- $i ${RPCDIR}; \
- $(ECHO) $i)
-.endfor
+install: ${HDRS}
+ cd ${.CURDIR} && \
+ ${INSTALL} -C -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
+ ${HFILES} ${DESTDIR}/usr/include/rpcsvc
+ cd ${.CURDIR} && \
+ ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
+ ${XFILES} ${DESTDIR}/usr/include/rpcsvc
+ ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} ${HDRS} \
+ ${DESTDIR}/usr/include/rpcsvc
.x.h:
cd ${.CURDIR} ; ${RPCCOM} -h $*.x -o ${.OBJDIR}/$@
.include <bsd.prog.mk>
-
-
-
-
OpenPOWER on IntegriCloud