Makefile.am 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #
  2. # $Id$
  3. #
  4. AUTOMAKE_OPTIONS = foreign no-dependencies
  5. man_MANS = curl_easy_cleanup.3 curl_easy_getinfo.3 curl_easy_init.3 \
  6. curl_easy_perform.3 curl_easy_setopt.3 curl_easy_duphandle.3 \
  7. curl_formadd.3 curl_formfree.3 curl_getdate.3 curl_getenv.3 \
  8. curl_slist_append.3 curl_slist_free_all.3 curl_version.3 \
  9. curl_version_info.3 curl_escape.3 curl_unescape.3 curl_free.3 \
  10. curl_strequal.3 curl_mprintf.3 curl_global_init.3 curl_global_cleanup.3 \
  11. curl_multi_add_handle.3 curl_multi_cleanup.3 curl_multi_fdset.3 \
  12. curl_multi_info_read.3 curl_multi_init.3 curl_multi_perform.3 \
  13. curl_multi_remove_handle.3 curl_share_cleanup.3 curl_share_init.3 \
  14. curl_share_setopt.3 libcurl.3 libcurl-easy.3 libcurl-multi.3 \
  15. libcurl-share.3 libcurl-errors.3 curl_easy_strerror.3 \
  16. curl_multi_strerror.3 curl_share_strerror.3 curl_global_init_mem.3 \
  17. libcurl-tutorial.3 curl_easy_reset.3 curl_easy_escape.3 \
  18. curl_easy_unescape.3 curl_multi_setopt.3 curl_multi_socket.3 \
  19. curl_multi_timeout.3 curl_formget.3 curl_multi_assign.3 \
  20. curl_easy_pause.3 curl_easy_recv.3 curl_easy_send.3 \
  21. curl_multi_socket_action.3
  22. HTMLPAGES = curl_easy_cleanup.html curl_easy_getinfo.html \
  23. curl_easy_init.html curl_easy_perform.html curl_easy_setopt.html \
  24. curl_easy_duphandle.html curl_formadd.html curl_formfree.html \
  25. curl_getdate.html curl_getenv.html curl_slist_append.html \
  26. curl_slist_free_all.html curl_version.html curl_version_info.html \
  27. curl_escape.html curl_unescape.html curl_free.html curl_strequal.html \
  28. curl_mprintf.html curl_global_init.html curl_global_cleanup.html \
  29. curl_multi_add_handle.html curl_multi_cleanup.html \
  30. curl_multi_fdset.html curl_multi_info_read.html curl_multi_init.html \
  31. curl_multi_perform.html curl_multi_remove_handle.html \
  32. curl_share_cleanup.html curl_share_init.html curl_share_setopt.html \
  33. libcurl.html libcurl-multi.html libcurl-easy.html libcurl-share.html \
  34. libcurl-errors.html curl_easy_strerror.html curl_multi_strerror.html \
  35. curl_share_strerror.html curl_global_init_mem.html \
  36. libcurl-tutorial.html curl_easy_reset.html curl_easy_escape.html \
  37. curl_easy_unescape.html curl_multi_setopt.html curl_multi_socket.html \
  38. curl_multi_timeout.html curl_formget.html curl_multi_assign.html \
  39. curl_easy_pause.html curl_easy_recv.html curl_easy_send.html \
  40. curl_multi_socket_action.html
  41. PDFPAGES = curl_easy_cleanup.pdf curl_easy_getinfo.pdf \
  42. curl_easy_init.pdf curl_easy_perform.pdf curl_easy_setopt.pdf \
  43. curl_easy_duphandle.pdf curl_formadd.pdf curl_formfree.pdf \
  44. curl_getdate.pdf curl_getenv.pdf curl_slist_append.pdf \
  45. curl_slist_free_all.pdf curl_version.pdf curl_version_info.pdf \
  46. curl_escape.pdf curl_unescape.pdf curl_free.pdf curl_strequal.pdf \
  47. curl_mprintf.pdf curl_global_init.pdf curl_global_cleanup.pdf \
  48. curl_multi_add_handle.pdf curl_multi_cleanup.pdf curl_multi_fdset.pdf \
  49. curl_multi_info_read.pdf curl_multi_init.pdf curl_multi_perform.pdf \
  50. curl_multi_remove_handle.pdf curl_share_cleanup.pdf curl_share_init.pdf \
  51. curl_share_setopt.pdf libcurl.pdf libcurl-multi.pdf libcurl-easy.pdf \
  52. libcurl-share.pdf libcurl-errors.pdf curl_easy_strerror.pdf \
  53. curl_multi_strerror.pdf curl_share_strerror.pdf \
  54. curl_global_init_mem.pdf libcurl-tutorial.pdf curl_easy_reset.pdf \
  55. curl_easy_escape.pdf curl_easy_unescape.pdf curl_multi_setopt.pdf \
  56. curl_multi_socket.pdf curl_multi_timeout.pdf curl_formget.pdf \
  57. curl_multi_assign.pdf curl_easy_pause.pdf curl_easy_recv.pdf \
  58. curl_easy_send.pdf curl_multi_socket_action.pdf
  59. CLEANFILES = $(HTMLPAGES) $(PDFPAGES)
  60. EXTRA_DIST = $(man_MANS) $(HTMLPAGES) index.html $(PDFPAGES) libcurl.m4 ABI \
  61. symbols-in-versions
  62. MAN2HTML= roffit --mandir=. < $< >$@
  63. SUFFIXES = .3 .html
  64. html: $(HTMLPAGES)
  65. .3.html:
  66. $(MAN2HTML)
  67. pdf: $(PDFPAGES)
  68. .3.pdf:
  69. @(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
  70. groff -Tps -man $< >$$foo.ps; \
  71. ps2pdf $$foo.ps $@; \
  72. rm $$foo.ps; \
  73. echo "converted $< to $@")