diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2007-02-22 20:16:43 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-02-22 10:29:33 -0800 |
commit | 94bede79e2852f870b023366fbb3588db5683ac9 (patch) | |
tree | 25866d9f6a2dff6f285949ccc55d67ab1abb0663 | |
parent | 9845a77c8812cd416cad18c73c6051fc337158f3 (diff) | |
download | libibverbs-94bede79e2852f870b023366fbb3588db5683ac9.tar.gz |
Delete man3 symbolic links before creating them during install
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>
-rw-r--r-- | Makefile.am | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 5d2383e..705b184 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 && \ |