roentgen b75cab
# Tag Image File Format (TIFF) Software
roentgen b75cab
#
roentgen b75cab
# Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu></dron@ak4719.spb.edu>
roentgen b75cab
#
roentgen b75cab
# Permission to use, copy, modify, distribute, and sell this software and 
roentgen b75cab
# its documentation for any purpose is hereby granted without fee, provided
roentgen b75cab
# that (i) the above copyright notices and this permission notice appear in
roentgen b75cab
# all copies of the software and related documentation, and (ii) the names of
roentgen b75cab
# Sam Leffler and Silicon Graphics may not be used in any advertising or
roentgen b75cab
# publicity relating to the software without the specific, prior written
roentgen b75cab
# permission of Sam Leffler and Silicon Graphics.
roentgen b75cab
# 
roentgen b75cab
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
roentgen b75cab
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
roentgen b75cab
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
roentgen b75cab
# 
roentgen b75cab
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
roentgen b75cab
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
roentgen b75cab
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
roentgen b75cab
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
roentgen b75cab
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
roentgen b75cab
# OF THIS SOFTWARE.
roentgen b75cab
roentgen b75cab
# Process this file with automake to produce Makefile.in.
roentgen b75cab
roentgen b75cab
docdir = $(LIBTIFF_DOCDIR)/html/man
roentgen b75cab
MANSRCDIR = $(top_srcdir)/man
roentgen b75cab
HTMLMANDIR = $(top_srcdir)/html/man
roentgen b75cab
roentgen b75cab
GROFF = groff -Thtml -mandoc
roentgen b75cab
ECHO = echo
roentgen b75cab
roentgen b75cab
indexfile = index.html
roentgen b75cab
docfiles = \
roentgen b75cab
	libtiff.3tiff.html \
roentgen b75cab
	TIFFbuffer.3tiff.html \
roentgen b75cab
	TIFFClose.3tiff.html \
roentgen b75cab
	TIFFcodec.3tiff.html \
roentgen b75cab
	TIFFcolor.3tiff.html \
roentgen b75cab
	TIFFDataWidth.3tiff.html \
roentgen b75cab
	TIFFError.3tiff.html \
roentgen b75cab
	TIFFFieldDataType.3tiff.html \
roentgen b75cab
	TIFFFieldName.3tiff.html \
roentgen b75cab
	TIFFFieldPassCount.3tiff.html \
roentgen b75cab
	TIFFFieldReadCount.3tiff.html \
roentgen b75cab
	TIFFFieldTag.3tiff.html \
roentgen b75cab
	TIFFFieldWriteCount.3tiff.html \
roentgen b75cab
	TIFFFlush.3tiff.html \
roentgen b75cab
	TIFFGetField.3tiff.html \
roentgen b75cab
	TIFFmemory.3tiff.html \
roentgen b75cab
	TIFFOpen.3tiff.html \
roentgen b75cab
	TIFFPrintDirectory.3tiff.html \
roentgen b75cab
	TIFFquery.3tiff.html \
roentgen b75cab
	TIFFReadDirectory.3tiff.html \
roentgen b75cab
	TIFFReadEncodedStrip.3tiff.html \
roentgen b75cab
	TIFFReadEncodedTile.3tiff.html \
roentgen b75cab
	TIFFReadRawStrip.3tiff.html \
roentgen b75cab
	TIFFReadRawTile.3tiff.html \
roentgen b75cab
	TIFFReadRGBAImage.3tiff.html \
roentgen b75cab
	TIFFReadRGBAStrip.3tiff.html \
roentgen b75cab
	TIFFReadRGBATile.3tiff.html \
roentgen b75cab
	TIFFReadScanline.3tiff.html \
roentgen b75cab
	TIFFReadTile.3tiff.html \
roentgen b75cab
	TIFFRGBAImage.3tiff.html \
roentgen b75cab
	TIFFSetDirectory.3tiff.html \
roentgen b75cab
	TIFFSetField.3tiff.html \
roentgen b75cab
	TIFFsize.3tiff.html \
roentgen b75cab
	TIFFstrip.3tiff.html \
roentgen b75cab
	TIFFswab.3tiff.html \
roentgen b75cab
	TIFFtile.3tiff.html \
roentgen b75cab
	TIFFWarning.3tiff.html \
roentgen b75cab
	TIFFWriteDirectory.3tiff.html \
roentgen b75cab
	TIFFWriteEncodedStrip.3tiff.html \
roentgen b75cab
	TIFFWriteEncodedTile.3tiff.html \
roentgen b75cab
	TIFFWriteRawStrip.3tiff.html \
roentgen b75cab
	TIFFWriteRawTile.3tiff.html \
roentgen b75cab
	TIFFWriteScanline.3tiff.html \
roentgen b75cab
	TIFFWriteTile.3tiff.html \
roentgen b75cab
	bmp2tiff.1.html \
roentgen b75cab
	fax2ps.1.html \
roentgen b75cab
	fax2tiff.1.html \
roentgen b75cab
	gif2tiff.1.html \
roentgen b75cab
	pal2rgb.1.html \
roentgen b75cab
	ppm2tiff.1.html \
roentgen b75cab
	ras2tiff.1.html \
roentgen b75cab
	raw2tiff.1.html \
roentgen b75cab
	rgb2ycbcr.1.html \
roentgen b75cab
	sgi2tiff.1.html \
roentgen b75cab
	thumbnail.1.html \
roentgen b75cab
	tiff2bw.1.html \
roentgen b75cab
	tiff2pdf.1.html \
roentgen b75cab
	tiff2ps.1.html \
roentgen b75cab
	tiff2rgba.1.html \
roentgen b75cab
	tiffcmp.1.html \
roentgen b75cab
	tiffcp.1.html \
roentgen b75cab
	tiffcrop.1.html \
roentgen b75cab
	tiffdither.1.html \
roentgen b75cab
	tiffdump.1.html \
roentgen b75cab
	tiffgt.1.html \
roentgen b75cab
	tiffinfo.1.html \
roentgen b75cab
	tiffmedian.1.html \
roentgen b75cab
	tiffset.1.html \
roentgen b75cab
	tiffsplit.1.html \
roentgen b75cab
	tiffsv.1.html
roentgen b75cab
roentgen b75cab
dist_doc_DATA = $(indexfile) $(docfiles)
roentgen b75cab
roentgen b75cab
INDEXSTART = '<title>Libtiff HTML manpage index</title>

    Man Pages

    '

roentgen b75cab
INDEXEND = ''
roentgen b75cab
roentgen b75cab
.PHONY: index
roentgen b75cab
index:
roentgen b75cab
	${ECHO} ${INDEXSTART} > $(indexfile)
roentgen b75cab
	for i in $(docfiles); do					\
roentgen b75cab
		${ECHO} '
  • '$$i'' >> $(indexfile); \
  • roentgen b75cab
    	done
    roentgen b75cab
    	${ECHO} ${INDEXEND} >> $(indexfile)
    roentgen b75cab
    roentgen b75cab
    manpages = $(docfiles:.html=)
    roentgen b75cab
    roentgen b75cab
    .PHONY: htmldoc
    roentgen b75cab
    htmldoc:
    roentgen b75cab
    	for i in $(manpages); do					\
    roentgen b75cab
    		${GROFF} $(MANSRCDIR)/$$i > $(HTMLMANDIR)/$$i.html;	\
    roentgen b75cab
    	done
    roentgen b75cab