Date: Wed, 1 Mar 1995 23:07:36 +1100 From: Bruce Evans <bde@zeta.org.au> To: current@FreeBSD.org, jhay@mikom.csir.co.za Subject: Re: bootparamd makefile still broken Message-ID: <199503011207.XAA30402@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>My patch this morning was not complete. I never tested make install - stupidly
>thinking that it would work :( The install program never get a destination
>directory. Here is another patch that should also be added. I think this
>should be the last one for these makefiles :)
I can think of futher improvements :-).
> cp ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
> rpcgen -h -o bootparam_prot.h bootparam_prot.x
- the path should be to the rpcsvc source directory, ${RPCSVC}.
- someone should fix cp -f so that the rm and cp commands can be merged.
- the removing and copying can be avoided using
cd ${RPCSVC}; rpcgen -h -o ${.OBJDIR}/bootparam_prot.h} bootparam_prot.x
The cd seems to be necessary to stop rpcgen from screwing up the #includes.
- there should a dependency on $PRPCSVC}/bootparam_prot.x
Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503011207.XAA30402>
