Makefile.am 3.8 KB

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