diff options
author | bde <bde@FreeBSD.org> | 1995-07-04 08:39:27 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-07-04 08:39:27 +0000 |
commit | 0a7517cef3eab443e5c3f5e76f75a5c26fdfc847 (patch) | |
tree | 9db48b741942b473237de330b6cf1c5338f24a79 /gnu/usr.bin/yppush | |
parent | 23f9d789cdea7b4d95a2e3048192baf150c3cf90 (diff) | |
download | FreeBSD-src-0a7517cef3eab443e5c3f5e76f75a5c26fdfc847.zip FreeBSD-src-0a7517cef3eab443e5c3f5e76f75a5c26fdfc847.tar.gz |
Add a dependency on the .x source file and avoid copying it.
bootparam_prot.x was changed for nfsv3 but bootparamd and callbootd
kept using the old version which fortunately failed at build time.
Copying hasn't been necessary since path handling was fixed in
rpcgen/rpc_main.c some time ago.
Diffstat (limited to 'gnu/usr.bin/yppush')
-rw-r--r-- | gnu/usr.bin/yppush/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/gnu/usr.bin/yppush/Makefile b/gnu/usr.bin/yppush/Makefile index 9d883b6..374760a 100644 --- a/gnu/usr.bin/yppush/Makefile +++ b/gnu/usr.bin/yppush/Makefile @@ -1,20 +1,18 @@ # from: @(#)Makefile 5.8 (Berkeley) 7/28/90 -# $Id: Makefile,v 1.6 1995/04/02 20:28:09 wpaul Exp $ +# $Id: Makefile,v 1.7 1995/05/30 05:05:19 rgrimes Exp $ PROG= yppush SRCS= yp_clnt.c yppush.c MAN8= yppush.8 -CLEANFILES= yp_clnt.c yp.h yp.x +CLEANFILES= yp_clnt.c yp.h -yp_clnt.c: yp.h - rm -f yp.x - cp ${DESTDIR}/usr/include/rpcsvc/yp.x . - rpcgen -l -o yp_clnt.c yp.x +RPCSRC= ${DESTDIR}/usr/include/rpcsvc/yp.x -yp.h: - rm -f yp.x - cp ${DESTDIR}/usr/include/rpcsvc/yp.x . - rpcgen -h -o yp.h yp.x +yp_clnt.c: ${RPCSRC} yp.h + rpcgen -l -o ${.TARGET} ${RPCSRC} + +yp.h: ${RPCSRC} + rpcgen -h -o ${.TARGET} ${RPCSRC} .include <bsd.prog.mk> |