2
0

Makefile.am 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. # Tag Image File Format (TIFF) Software
  2. #
  3. # Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
  4. #
  5. # Permission to use, copy, modify, distribute, and sell this software and
  6. # its documentation for any purpose is hereby granted without fee, provided
  7. # that (i) the above copyright notices and this permission notice appear in
  8. # all copies of the software and related documentation, and (ii) the names of
  9. # Sam Leffler and Silicon Graphics may not be used in any advertising or
  10. # publicity relating to the software without the specific, prior written
  11. # permission of Sam Leffler and Silicon Graphics.
  12. #
  13. # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
  14. # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
  15. # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  16. #
  17. # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  18. # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  19. # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  20. # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
  21. # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  22. # OF THIS SOFTWARE.
  23. # Process this file with automake to produce Makefile.in.
  24. docdir = $(LIBTIFF_DOCDIR)/html/man
  25. MANSRCDIR = $(top_srcdir)/man
  26. HTMLMANDIR = $(top_srcdir)/html/man
  27. GROFF = groff -Thtml -mandoc
  28. ECHO = echo
  29. indexfile = index.html
  30. docfiles = \
  31. libtiff.3tiff.html \
  32. TIFFbuffer.3tiff.html \
  33. TIFFClose.3tiff.html \
  34. TIFFcodec.3tiff.html \
  35. TIFFcolor.3tiff.html \
  36. TIFFDataWidth.3tiff.html \
  37. TIFFError.3tiff.html \
  38. TIFFFlush.3tiff.html \
  39. TIFFGetField.3tiff.html \
  40. TIFFmemory.3tiff.html \
  41. TIFFOpen.3tiff.html \
  42. TIFFPrintDirectory.3tiff.html \
  43. TIFFquery.3tiff.html \
  44. TIFFReadDirectory.3tiff.html \
  45. TIFFReadEncodedStrip.3tiff.html \
  46. TIFFReadEncodedTile.3tiff.html \
  47. TIFFReadRawStrip.3tiff.html \
  48. TIFFReadRawTile.3tiff.html \
  49. TIFFReadRGBAImage.3tiff.html \
  50. TIFFReadRGBAStrip.3tiff.html \
  51. TIFFReadRGBATile.3tiff.html \
  52. TIFFReadScanline.3tiff.html \
  53. TIFFReadTile.3tiff.html \
  54. TIFFRGBAImage.3tiff.html \
  55. TIFFSetDirectory.3tiff.html \
  56. TIFFSetField.3tiff.html \
  57. TIFFsize.3tiff.html \
  58. TIFFstrip.3tiff.html \
  59. TIFFswab.3tiff.html \
  60. TIFFtile.3tiff.html \
  61. TIFFWarning.3tiff.html \
  62. TIFFWriteDirectory.3tiff.html \
  63. TIFFWriteEncodedStrip.3tiff.html \
  64. TIFFWriteEncodedTile.3tiff.html \
  65. TIFFWriteRawStrip.3tiff.html \
  66. TIFFWriteRawTile.3tiff.html \
  67. TIFFWriteScanline.3tiff.html \
  68. TIFFWriteTile.3tiff.html \
  69. fax2ps.1.html \
  70. fax2tiff.1.html \
  71. gif2tiff.1.html \
  72. pal2rgb.1.html \
  73. ppm2tiff.1.html \
  74. ras2tiff.1.html \
  75. raw2tiff.1.html \
  76. rgb2ycbcr.1.html \
  77. sgi2tiff.1.html \
  78. thumbnail.1.html \
  79. tiff2bw.1.html \
  80. tiff2pdf.1.html \
  81. tiff2ps.1.html \
  82. tiff2rgba.1.html \
  83. tiffcmp.1.html \
  84. tiffcp.1.html \
  85. tiffcrop.1.html \
  86. tiffdither.1.html \
  87. tiffdump.1.html \
  88. tiffgt.1.html \
  89. tiffinfo.1.html \
  90. tiffmedian.1.html \
  91. tiffset.1.html \
  92. tiffsplit.1.html \
  93. tiffsv.1.html
  94. dist_doc_DATA = $(indexfile) $(docfiles)
  95. INDEXSTART = '<HTML><HEAD><TITLE>Libtiff HTML manpage index</TITLE></HEAD><BODY BGCOLOR=white><ul><H2>Man Pages</h2><p>'
  96. INDEXEND = '</ul></BODY></HTML>'
  97. .PHONY: index
  98. index:
  99. ${ECHO} ${INDEXSTART} > $(indexfile)
  100. for i in $(docfiles); do \
  101. ${ECHO} '<li><A HREF='$$i'>'$$i'</a>' >> $(indexfile); \
  102. done
  103. ${ECHO} ${INDEXEND} >> $(indexfile)
  104. manpages = $(docfiles:.html=)
  105. .PHONY: htmldoc
  106. htmldoc:
  107. for i in $(manpages); do \
  108. ${GROFF} $(MANSRCDIR)/$$i > $(HTMLMANDIR)/$$i.html; \
  109. done