Makefile.am 913 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # $Id: Makefile.am,v 1.31 2004/03/05 08:01:55 bagder Exp $
  3. #
  4. AUTOMAKE_OPTIONS = foreign no-dependencies
  5. man_MANS = \
  6. curl.1 \
  7. curl-config.1
  8. GENHTMLPAGES = \
  9. curl.html \
  10. curl-config.html
  11. HTMLPAGES = $(GENHTMLPAGES) index.html
  12. PDFPAGES = \
  13. curl.pdf \
  14. curl-config.pdf
  15. SUBDIRS = examples libcurl
  16. CLEANFILES = $(GENHTMLPAGES) $(PDFPAGES)
  17. EXTRA_DIST = MANUAL BUGS CONTRIBUTE FAQ FEATURES INTERNALS SSLCERTS \
  18. README.win32 RESOURCES TODO TheArtOfHttpScripting THANKS \
  19. VERSIONS KNOWN_BUGS BINDINGS $(man_MANS) $(HTMLPAGES) \
  20. HISTORY INSTALL libcurl-the-guide $(PDFPAGES)
  21. MAN2HTML= roffit < $< >$@
  22. SUFFIXES = .1 .html .pdf
  23. html: $(HTMLPAGES)
  24. cd libcurl; make html
  25. pdf: $(PDFPAGES)
  26. cd libcurl; make pdf
  27. .1.html:
  28. $(MAN2HTML)
  29. .1.pdf:
  30. @(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
  31. groff -Tps -man $< >$$foo.ps; \
  32. ps2pdf $$foo.ps $@; \
  33. rm $$foo.ps; \
  34. echo "converted $< to $@")