diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1996-08-30 19:31:28 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1996-08-30 19:31:28 +0000 |
| commit | 0fd77885de8ae87fca5ed85fc21df9a0d656f2b6 (patch) | |
| tree | 70340190cf2bd6e886d805bd3204eaec0eb6f716 | |
| parent | d49112c5f1ba4db4681485b02e3e843a568fe1f7 (diff) | |
Notes
| -rw-r--r-- | include/rpcsvc/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/include/rpcsvc/Makefile b/include/rpcsvc/Makefile index e9acb6d3889f..69190a2acdbd 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 <bsd.prog.mk> |
