Makefile.am 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. # Copyright (c) 2004 MontaVista Software, Inc.
  2. # Copyright (c) 2009 Red Hat, Inc.
  3. #
  4. # Authors: Steven Dake (sdake@redhat.com)
  5. # Fabio M. Di Nitto (fdinitto@redhat.com)
  6. #
  7. # All rights reserved.
  8. #
  9. # This software licensed under BSD license, the text of which follows:
  10. #
  11. # Redistribution and use in source and binary forms, with or without
  12. # modification, are permitted provided that the following conditions are met:
  13. #
  14. # - Redistributions of source code must retain the above copyright notice,
  15. # this list of conditions and the following disclaimer.
  16. # - Redistributions in binary form must reproduce the above copyright notice,
  17. # this list of conditions and the following disclaimer in the documentation
  18. # and/or other materials provided with the distribution.
  19. # - Neither the name of the MontaVista Software, Inc. nor the names of its
  20. # contributors may be used to endorse or promote products derived from this
  21. # software without specific prior written permission.
  22. #
  23. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  24. # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  25. # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  26. # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  27. # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  28. # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  29. # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  30. # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  31. # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  32. # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  33. # THE POSSIBILITY OF SUCH DAMAGE.
  34. MAINTAINERCLEANFILES = Makefile.in
  35. EXTRA_DIST = index.html
  36. dist_man_MANS = \
  37. corosync.conf.5 \
  38. confdb_overview.8 \
  39. corosync-objctl.8 \
  40. corosync_overview.8 \
  41. cpg_overview.8 \
  42. evs_overview.8 \
  43. logsys_overview.8 \
  44. votequorum_overview.8 \
  45. coroipc_overview.8 \
  46. confdb_dispatch.3 \
  47. confdb_fd_get.3 \
  48. confdb_finalize.3 \
  49. confdb_initialize.3 \
  50. confdb_key_create.3 \
  51. confdb_key_delete.3 \
  52. confdb_key_iter.3 \
  53. confdb_key_replace.3 \
  54. confdb_object_create.3 \
  55. confdb_object_destroy.3 \
  56. confdb_object_find.3 \
  57. confdb_object_iter.3 \
  58. confdb_object_parent_get.3 \
  59. confdb_context_get.3 \
  60. confdb_context_set.3 \
  61. cpg_context_get.3 \
  62. cpg_context_set.3 \
  63. cpg_dispatch.3 \
  64. cpg_fd_get.3 \
  65. cpg_finalize.3 \
  66. cpg_initialize.3 \
  67. cpg_join.3 \
  68. cpg_leave.3 \
  69. cpg_local_get.3 \
  70. cpg_mcast_joined.3 \
  71. cpg_zcb_mcast_joined.3 \
  72. cpg_zcb_alloc.3 \
  73. cpg_zcb_free.3 \
  74. cpg_membership_get.3 \
  75. evs_dispatch.3 \
  76. evs_fd_get.3 \
  77. evs_finalize.3 \
  78. evs_initialize.3 \
  79. evs_join.3 \
  80. evs_leave.3 \
  81. evs_mcast_groups.3 \
  82. evs_mcast_joined.3 \
  83. evs_membership_get.3 \
  84. evs_context_get.3 \
  85. evs_context_set.3 \
  86. votequorum_dispatch.3 \
  87. votequorum_fd_get.3 \
  88. votequorum_context_get.3 \
  89. votequorum_context_set.3 \
  90. votequorum_finalize.3 \
  91. votequorum_getinfo.3 \
  92. votequorum_initialize.3 \
  93. votequorum_leaving.3 \
  94. votequorum_qdisk_getinfo.3 \
  95. votequorum_qdisk_poll.3 \
  96. votequorum_qdisk_register.3 \
  97. votequorum_qdisk_unregister.3 \
  98. votequorum_setexpected.3 \
  99. votequorum_setvotes.3 \
  100. sam_finalize.3 \
  101. sam_hc_callback_register.3 \
  102. sam_hc_send.3 \
  103. sam_initialize.3 \
  104. sam_overview.8 \
  105. sam_register.3 \
  106. sam_start.3 \
  107. sam_stop.3
  108. if BUILD_HTML_DOCS
  109. HTML_DOCS = $(dist_man_MANS:%=%.html)
  110. INDEX_HTML = index.html
  111. %.html: %
  112. $(GROFF) -mandoc -Thtml $^ > $@
  113. install-data-local:
  114. $(INSTALL) -d $(DESTDIR)/${docdir}/html
  115. $(INSTALL) -m644 ${srcdir}/$(INDEX_HTML) $(HTML_DOCS) $(DESTDIR)/${docdir}/html/
  116. uninstall-local:
  117. cd $(DESTDIR)/${docdir}/html && rm -f $(INDEX_HTML) $(HTML_DOCS)
  118. rmdir $(DESTDIR)/${docdir}/html 2> /dev/null || :
  119. all-local: $(HTML_DOCS)
  120. clean-local:
  121. rm -rf $(HTML_DOCS)
  122. endif