]> git.openfabrics.org - ~shefty/libibverbs.git/commitdiff
Delete man3 symbolic links before creating them during install
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Thu, 22 Feb 2007 18:16:43 +0000 (20:16 +0200)
committerRoland Dreier <rolandd@cisco.com>
Thu, 22 Feb 2007 18:29:33 +0000 (10:29 -0800)
The following patch removes manpage symbolic links so that they may be
relinked in the install.  Otherwise a second install will fail, since
the links already exist.

Suggested by Michael Tsirkin.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Makefile.am

index 5d2383e37eeb80db249a6f9e33293a16f8034adc..705b1845a687894c47f572f9ab06a225c9d9451c 100644 (file)
@@ -70,6 +70,20 @@ 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 && \
+       $(RM) ibv_init_ah_from_wc.3 && \
+       $(RM) mult_to_ibv_rate.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 && \