Makefile.am 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. cpg_context_get.3 \
  60. cpg_context_set.3 \
  61. cpg_dispatch.3 \
  62. cpg_fd_get.3 \
  63. cpg_finalize.3 \
  64. cpg_initialize.3 \
  65. cpg_join.3 \
  66. cpg_leave.3 \
  67. cpg_local_get.3 \
  68. cpg_mcast_joined.3 \
  69. cpg_membership_get.3 \
  70. evs_dispatch.3 \
  71. evs_fd_get.3 \
  72. evs_finalize.3 \
  73. evs_initialize.3 \
  74. evs_join.3 \
  75. evs_leave.3 \
  76. evs_mcast_groups.3 \
  77. evs_mcast_joined.3 \
  78. evs_membership_get.3 \
  79. votequorum_dispatch.3 \
  80. votequorum_fd_get.3 \
  81. votequorum_finalize.3 \
  82. votequorum_getinfo.3 \
  83. votequorum_initialize.3 \
  84. votequorum_leaving.3 \
  85. votequorum_qdisk_getinfo.3 \
  86. votequorum_qdisk_poll.3 \
  87. votequorum_qdisk_register.3 \
  88. votequorum_qdisk_unregister.3 \
  89. votequorum_setexpected.3 \
  90. votequorum_setvotes.3
  91. if BUILD_HTML_DOCS
  92. HTML_DOCS = $(dist_man_MANS:%=%.html)
  93. INDEX_HTML = index.html
  94. %.html: %
  95. $(GROFF) -mandoc -Thtml $^ > $@
  96. install-data-local:
  97. install -d $(DESTDIR)/${docdir}/html
  98. install -m644 ${srcdir}/$(INDEX_HTML) $(HTML_DOCS) $(DESTDIR)/${docdir}/html/
  99. uninstall-local:
  100. cd $(DESTDIR)/${docdir}/html && rm -f $(INDEX_HTML) $(HTML_DOCS)
  101. rmdir $(DESTDIR)/${docdir}/html 2> /dev/null || :
  102. all-local: $(HTML_DOCS)
  103. clean-local:
  104. rm -rf $(HTML_DOCS)
  105. endif