From 4e5231d04b9721ef4f13ff57cdc9da4aeb57a5e2 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 30 Aug 1996 19:31:28 +0000 Subject: Some bmake magic to clean up the install more. fix another missed -c typo of mine. clean the rpcgen implicit rule more Submitted by: bde --- include/rpcsvc/Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'include/rpcsvc') diff --git a/include/rpcsvc/Makefile b/include/rpcsvc/Makefile index e9acb6d..69190a2 100644 --- a/include/rpcsvc/Makefile +++ b/include/rpcsvc/Makefile @@ -1,10 +1,9 @@ # from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC -# $Id: Makefile,v 1.8 1996/06/05 03:47:18 wpaul Exp $ +# $Id: Makefile,v 1.9 1996/08/29 19:59:48 peter Exp $ .SUFFIXES: .x RPCCOM = rpcgen -BINMODE = 444 HDRS= klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \ rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \ @@ -19,16 +18,13 @@ CLEANFILES+= ${HDRS} all: ${HDRS} 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} \ + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ + ${HFILES:S;^;${.CURDIR}/;} \ + ${XFILES:S;^;${.CURDIR}/;} \ + ${HDRS} \ ${DESTDIR}/usr/include/rpcsvc .x.h: - cd ${.CURDIR} ; ${RPCCOM} -h $*.x -o ${.OBJDIR}/$@ + ${RPCCOM} -h ${.IMPSRC} -o ${.TARGET} .include -- cgit v1.1