Makefile.am 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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.8 \
  40. corosync-objctl.8 \
  41. corosync-blackbox.8 \
  42. corosync-keygen.8 \
  43. corosync-cfgtool.8 \
  44. corosync-cpgtool.8 \
  45. corosync-fplay.8 \
  46. corosync-pload.8 \
  47. corosync-notifyd.8 \
  48. corosync-quorumtool.8 \
  49. corosync_overview.8 \
  50. cpg_overview.8 \
  51. evs_overview.8 \
  52. votequorum_overview.8 \
  53. confdb_dispatch.3 \
  54. confdb_fd_get.3 \
  55. confdb_finalize.3 \
  56. confdb_initialize.3 \
  57. confdb_key_create.3 \
  58. confdb_key_delete.3 \
  59. confdb_key_iter.3 \
  60. confdb_key_replace.3 \
  61. confdb_object_create.3 \
  62. confdb_object_destroy.3 \
  63. confdb_object_find.3 \
  64. confdb_object_iter.3 \
  65. confdb_object_parent_get.3 \
  66. confdb_context_get.3 \
  67. confdb_context_set.3 \
  68. cpg_context_get.3 \
  69. cpg_context_set.3 \
  70. cpg_dispatch.3 \
  71. cpg_fd_get.3 \
  72. cpg_finalize.3 \
  73. cpg_initialize.3 \
  74. cpg_join.3 \
  75. cpg_leave.3 \
  76. cpg_local_get.3 \
  77. cpg_mcast_joined.3 \
  78. cpg_model_initialize.3 \
  79. cpg_zcb_mcast_joined.3 \
  80. cpg_zcb_alloc.3 \
  81. cpg_zcb_free.3 \
  82. cpg_membership_get.3 \
  83. evs_dispatch.3 \
  84. evs_fd_get.3 \
  85. evs_finalize.3 \
  86. evs_initialize.3 \
  87. evs_join.3 \
  88. evs_leave.3 \
  89. evs_mcast_groups.3 \
  90. evs_mcast_joined.3 \
  91. evs_membership_get.3 \
  92. evs_context_get.3 \
  93. evs_context_set.3 \
  94. votequorum_dispatch.3 \
  95. votequorum_fd_get.3 \
  96. votequorum_context_get.3 \
  97. votequorum_context_set.3 \
  98. votequorum_finalize.3 \
  99. votequorum_getinfo.3 \
  100. votequorum_initialize.3 \
  101. votequorum_leaving.3 \
  102. votequorum_qdisk_getinfo.3 \
  103. votequorum_qdisk_poll.3 \
  104. votequorum_qdisk_register.3 \
  105. votequorum_qdisk_unregister.3 \
  106. votequorum_setexpected.3 \
  107. votequorum_setvotes.3 \
  108. sam_data_getsize.3 \
  109. sam_data_restore.3 \
  110. sam_data_store.3 \
  111. sam_finalize.3 \
  112. sam_hc_callback_register.3 \
  113. sam_hc_send.3 \
  114. sam_initialize.3 \
  115. sam_mark_failed.3 \
  116. sam_overview.8 \
  117. sam_register.3 \
  118. sam_start.3 \
  119. sam_stop.3 \
  120. sam_warn_signal_set.3
  121. if INSTALL_XMLCONF
  122. dist_man_MANS += \
  123. corosync-xmlproc.8 \
  124. corosync.xml.5
  125. endif
  126. if BUILD_HTML_DOCS
  127. HTML_DOCS = $(dist_man_MANS:%=%.html)
  128. INDEX_HTML = index.html
  129. %.html: %
  130. $(GROFF) -mandoc -Thtml $^ > $@
  131. install-data-local:
  132. $(INSTALL) -d $(DESTDIR)/${docdir}/html
  133. $(INSTALL) -m644 ${srcdir}/$(INDEX_HTML) $(HTML_DOCS) $(DESTDIR)/${docdir}/html/
  134. uninstall-local:
  135. cd $(DESTDIR)/${docdir}/html && rm -f $(INDEX_HTML) $(HTML_DOCS)
  136. rmdir $(DESTDIR)/${docdir}/html 2> /dev/null || :
  137. all-local: $(HTML_DOCS)
  138. clean-local:
  139. rm -rf $(HTML_DOCS)
  140. endif