[openib-general] libibverbs: can't compile more than once due to man3 symbolic links
Jeff Squyres
jsquyres at cisco.com
Thu Feb 22 04:38:03 PST 2007
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
> openib-general at openib.org
> 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
More information about the general
mailing list