Blah -- disregard; I read the mail too quickly and didn't look at the  
actual Makefile.am to see what you were really asking.

FWIW, the "install" app, by default, removes things before copying in  
the new target.  So putting a manual "rm -f" in here, while klunky,  
has precedent and will make it work.


On Feb 22, 2007, at 7:38 AM, Jeff Squyres wrote:

> Is there a reason not to use
>
> man_MANS = ibv_get_async_event.3 ....
>
> ?
>
>
> On Feb 22, 2007, at 7:32 AM, Jack Morgenstein wrote:
>
>> The code below was just added to libibverbs/Makefile.am
>>
>> install-data-hook:
>>         cd $(DESTDIR)$(mandir)/man3 && \
>>         $(LN_S) ibv_get_async_event.3 ibv_ack_async_event.3 && \
>>      ....
>>
>> This creates a problem when re-compiling/re-installing libibverbs --
>> the "ln -s" ( = $(LN_S) ) fails because the symbolic links still  
>> exist
>> in the man/man3 directory.
>>
>> I rummaged around the libtool documentation, and there is no pre-
>> defined
>> macro which does "ln -fs" (which would just overwrite the current
>> links).
>>
>> Any ideas on how to fix this problem cleanly (i.e., without
>> violating spirit
>> of libtool/automake)?
>>
>> - Jack
>>
>> _______________________________________________
>> openib-general mailing list
>> [email protected]
>> http://openib.org/mailman/listinfo/openib-general
>>
>> To unsubscribe, please visit http://openib.org/mailman/listinfo/
>> openib-general
>
>
> -- 
> Jeff Squyres
> Server Virtualization Business Unit
> Cisco Systems
>
>
> _______________________________________________
> openib-general mailing list
> [email protected]
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/ 
> openib-general


-- 
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to