[openib-general] [PATCH] libibverbs: can't compile more than once due to man3 symbolic links
Jack Morgenstein
jackm at dev.mellanox.co.il
Thu Feb 22 04:57:17 PST 2007
The following patch removes manpage symbolic links so that
they may be relinked in the install.
Suggested by Michael Tsirkin.
Signed-off-by: Jack Morgenstein <jackm at mellanox.co.il>
diff --git a/Makefile.am b/Makefile.am
index 5d2383e..455041e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -70,6 +70,18 @@ dist-hook: libibverbs.spec
install-data-hook:
cd $(DESTDIR)$(mandir)/man3 && \
+ $(RM) ibv_ack_async_event.3 && \
+ $(RM) ibv_ack_cq_events.3 && \
+ $(RM) ibv_close_device.3 && \
+ $(RM) ibv_dealloc_pd.3 && \
+ $(RM) ibv_dereg_mr.3 && \
+ $(RM) ibv_destroy_ah.3 && \
+ $(RM) ibv_destroy_comp_channel.3 && \
+ $(RM) ibv_destroy_cq.3 && \
+ $(RM) ibv_destroy_qp.3 && \
+ $(RM) ibv_destroy_srq.3 && \
+ $(RM) ibv_detach_mcast.3 && \
+ $(RM) ibv_free_device_list.3 && \
$(LN_S) ibv_get_async_event.3 ibv_ack_async_event.3 && \
$(LN_S) ibv_get_cq_event.3 ibv_ack_cq_events.3 && \
$(LN_S) ibv_open_device.3 ibv_close_device.3 && \
More information about the general
mailing list