On Fri, Feb 15, 2008 at 07:17:30PM -0500, Bill Sommerfeld wrote:
>
> On Fri, 2008-02-15 at 17:47 -0600, Will Fiveash wrote:
> > Building iprop.h because new command
> > /usr/bin/rpcgen -h
> > /pool/willf/ws/i386/bld_bug_test/usr/src/cmd/krb5/iprop/iprop.x > iprop.h
> > different from old
> > /usr/bin/rpcgen -h
> > /pool/willf/ws/i386/onnv_82-clone/usr/src/cmd/krb5/iprop/iprop.x > iprop.h
>
> > Can someone tell me why dmake is recreating iprop.h?
>
> Because the command used to create the file changed ("onnv_82-clone" in
> the middle of the pathname changed to "bld_bug_test").
>
> dmake is doing a literal comparison of the command string used out
> of .make.state with the command expanded out of the makefiles..
>
> Change the rpcgen invocation to use a relative pathname rather than an
> absolute pathname and you should be all set.
Thanks Bill for spotting that. I was assuming dmake was looking at
timestamps and didn't bother to examine the paths carefully.
--
Will Fiveash