diff options
author | peter <peter@FreeBSD.org> | 1996-08-30 19:31:28 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-08-30 19:31:28 +0000 |
commit | 4e5231d04b9721ef4f13ff57cdc9da4aeb57a5e2 (patch) | |
tree | 70340190cf2bd6e886d805bd3204eaec0eb6f716 | |
parent | 20369831f913426cc572631d3d54bbc0989c58dc (diff) | |
download | FreeBSD-src-4e5231d04b9721ef4f13ff57cdc9da4aeb57a5e2.zip FreeBSD-src-4e5231d04b9721ef4f13ff57cdc9da4aeb57a5e2.tar.gz |
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
-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 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 <bsd.prog.mk> |