Makefile.am 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #***************************************************************************
  2. # _ _ ____ _
  3. # Project ___| | | | _ \| |
  4. # / __| | | | |_) | |
  5. # | (__| |_| | _ <| |___
  6. # \___|\___/|_| \_\_____|
  7. #
  8. # Copyright (C) 1998 - 2014, 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.1 curl-config.1
  24. noinst_man_MANS = mk-ca-bundle.1
  25. GENHTMLPAGES = curl.html curl-config.html mk-ca-bundle.html
  26. PDFPAGES = curl.pdf curl-config.pdf mk-ca-bundle.pdf
  27. HTMLPAGES = $(GENHTMLPAGES) index.html
  28. SUBDIRS = examples libcurl
  29. CLEANFILES = $(GENHTMLPAGES) $(PDFPAGES)
  30. EXTRA_DIST = MANUAL BUGS CONTRIBUTE FAQ FEATURES INTERNALS SSLCERTS \
  31. README.win32 RESOURCES TODO TheArtOfHttpScripting THANKS VERSIONS \
  32. KNOWN_BUGS BINDINGS $(man_MANS) $(HTMLPAGES) HISTORY INSTALL \
  33. $(PDFPAGES) LICENSE-MIXING README.netware DISTRO-DILEMMA INSTALL.devcpp \
  34. MAIL-ETIQUETTE HTTP-COOKIES LIBCURL-STRUCTS SECURITY RELEASE-PROCEDURE \
  35. SSL-PROBLEMS
  36. MAN2HTML= roffit < $< >$@
  37. SUFFIXES = .1 .html .pdf
  38. html: $(HTMLPAGES)
  39. cd libcurl; make html
  40. pdf: $(PDFPAGES)
  41. cd libcurl; make pdf
  42. .1.html:
  43. $(MAN2HTML)
  44. .1.pdf:
  45. @(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
  46. groff -Tps -man $< >$$foo.ps; \
  47. ps2pdf $$foo.ps $@; \
  48. rm $$foo.ps; \
  49. echo "converted $< to $@")