Makefile.am 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. #***************************************************************************
  2. # _ _ ____ _
  3. # Project ___| | | | _ \| |
  4. # / __| | | | |_) | |
  5. # | (__| |_| | _ <| |___
  6. # \___|\___/|_| \_\_____|
  7. #
  8. # Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
  9. #
  10. # This software is licensed as described in the file COPYING, which
  11. # you should have received as part of this distribution. The terms
  12. # are also available at http://curl.haxx.se/docs/copyright.html.
  13. #
  14. # You may opt to use, copy, modify, merge, publish, distribute and/or sell
  15. # copies of the Software, and permit persons to whom the Software is
  16. # furnished to do so, under the terms of the COPYING file.
  17. #
  18. # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  19. # KIND, either express or implied.
  20. #
  21. ###########################################################################
  22. AUTOMAKE_OPTIONS = foreign no-dependencies
  23. man_MANS = curl_easy_cleanup.3 curl_easy_getinfo.3 curl_easy_init.3 \
  24. curl_easy_perform.3 curl_easy_setopt.3 curl_easy_duphandle.3 \
  25. curl_formadd.3 curl_formfree.3 curl_getdate.3 curl_getenv.3 \
  26. curl_slist_append.3 curl_slist_free_all.3 curl_version.3 \
  27. curl_version_info.3 curl_escape.3 curl_unescape.3 curl_free.3 \
  28. curl_strequal.3 curl_mprintf.3 curl_global_init.3 curl_global_cleanup.3 \
  29. curl_multi_add_handle.3 curl_multi_cleanup.3 curl_multi_fdset.3 \
  30. curl_multi_info_read.3 curl_multi_init.3 curl_multi_perform.3 \
  31. curl_multi_remove_handle.3 curl_share_cleanup.3 curl_share_init.3 \
  32. curl_share_setopt.3 libcurl.3 libcurl-easy.3 libcurl-multi.3 \
  33. libcurl-share.3 libcurl-errors.3 curl_easy_strerror.3 \
  34. curl_multi_strerror.3 curl_share_strerror.3 curl_global_init_mem.3 \
  35. libcurl-tutorial.3 curl_easy_reset.3 curl_easy_escape.3 \
  36. curl_easy_unescape.3 curl_multi_setopt.3 curl_multi_socket.3 \
  37. curl_multi_timeout.3 curl_formget.3 curl_multi_assign.3 \
  38. curl_easy_pause.3 curl_easy_recv.3 curl_easy_send.3 \
  39. curl_multi_socket_action.3
  40. HTMLPAGES = curl_easy_cleanup.html curl_easy_getinfo.html \
  41. curl_easy_init.html curl_easy_perform.html curl_easy_setopt.html \
  42. curl_easy_duphandle.html curl_formadd.html curl_formfree.html \
  43. curl_getdate.html curl_getenv.html curl_slist_append.html \
  44. curl_slist_free_all.html curl_version.html curl_version_info.html \
  45. curl_escape.html curl_unescape.html curl_free.html curl_strequal.html \
  46. curl_mprintf.html curl_global_init.html curl_global_cleanup.html \
  47. curl_multi_add_handle.html curl_multi_cleanup.html \
  48. curl_multi_fdset.html curl_multi_info_read.html curl_multi_init.html \
  49. curl_multi_perform.html curl_multi_remove_handle.html \
  50. curl_share_cleanup.html curl_share_init.html curl_share_setopt.html \
  51. libcurl.html libcurl-multi.html libcurl-easy.html libcurl-share.html \
  52. libcurl-errors.html curl_easy_strerror.html curl_multi_strerror.html \
  53. curl_share_strerror.html curl_global_init_mem.html \
  54. libcurl-tutorial.html curl_easy_reset.html curl_easy_escape.html \
  55. curl_easy_unescape.html curl_multi_setopt.html curl_multi_socket.html \
  56. curl_multi_timeout.html curl_formget.html curl_multi_assign.html \
  57. curl_easy_pause.html curl_easy_recv.html curl_easy_send.html \
  58. curl_multi_socket_action.html
  59. PDFPAGES = curl_easy_cleanup.pdf curl_easy_getinfo.pdf \
  60. curl_easy_init.pdf curl_easy_perform.pdf curl_easy_setopt.pdf \
  61. curl_easy_duphandle.pdf curl_formadd.pdf curl_formfree.pdf \
  62. curl_getdate.pdf curl_getenv.pdf curl_slist_append.pdf \
  63. curl_slist_free_all.pdf curl_version.pdf curl_version_info.pdf \
  64. curl_escape.pdf curl_unescape.pdf curl_free.pdf curl_strequal.pdf \
  65. curl_mprintf.pdf curl_global_init.pdf curl_global_cleanup.pdf \
  66. curl_multi_add_handle.pdf curl_multi_cleanup.pdf curl_multi_fdset.pdf \
  67. curl_multi_info_read.pdf curl_multi_init.pdf curl_multi_perform.pdf \
  68. curl_multi_remove_handle.pdf curl_share_cleanup.pdf curl_share_init.pdf \
  69. curl_share_setopt.pdf libcurl.pdf libcurl-multi.pdf libcurl-easy.pdf \
  70. libcurl-share.pdf libcurl-errors.pdf curl_easy_strerror.pdf \
  71. curl_multi_strerror.pdf curl_share_strerror.pdf \
  72. curl_global_init_mem.pdf libcurl-tutorial.pdf curl_easy_reset.pdf \
  73. curl_easy_escape.pdf curl_easy_unescape.pdf curl_multi_setopt.pdf \
  74. curl_multi_socket.pdf curl_multi_timeout.pdf curl_formget.pdf \
  75. curl_multi_assign.pdf curl_easy_pause.pdf curl_easy_recv.pdf \
  76. curl_easy_send.pdf curl_multi_socket_action.pdf
  77. CLEANFILES = $(HTMLPAGES) $(PDFPAGES)
  78. EXTRA_DIST = $(man_MANS) $(HTMLPAGES) index.html $(PDFPAGES) libcurl.m4 ABI \
  79. symbols-in-versions
  80. MAN2HTML= roffit --mandir=. < $< >$@
  81. SUFFIXES = .3 .html
  82. html: $(HTMLPAGES)
  83. .3.html:
  84. $(MAN2HTML)
  85. pdf: $(PDFPAGES)
  86. .3.pdf:
  87. @(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
  88. groff -Tps -man $< >$$foo.ps; \
  89. ps2pdf $$foo.ps $@; \
  90. rm $$foo.ps; \
  91. echo "converted $< to $@")