Automatically generate HTML pages from the manuals.

This commit is contained in:
Andrey Kiselev 2005-03-05 12:27:00 +00:00
parent 926127c383
commit 26a67dc72d

View File

@ -24,132 +24,90 @@
# Process this file with automake to produce Makefile.in.
docdir = $(LIBTIFF_DOCDIR)/html/man
MANSRCDIR = $(top_builddir)/man
GROFF = groff -Thtml -mandoc
ECHO = echo
docfiles = \
fax2ps.1.html \
fax2ps.1.html \
fax2tiff.1.html \
fax2tiff.1.html \
gif2tiff.1.html \
gif2tiff.1.html \
index.html \
index.html \
libtiff.3t.html \
libtiff.3t.html \
pal2rgb.1.html \
libtiff.3tiff.html \
pal2rgb.1.html \
ppm2tiff.1.html \
ppm2tiff.1.html \
ras2tiff.1.html \
ras2tiff.1.html \
raw2tiff.1.html \
raw2tiff.1.html \
rgb2ycbcr.1.html \
rgb2ycbcr.1.html \
sgi2tiff.1.html \
sgi2tiff.1.html \
thumbnail.1.html \
thumbnail.1.html \
tiff2bw.1.html \
tiff2bw.1.html \
tiff2pdf.1.html \
tiff2pdf.1.html \
tiff2ps.1.html \
tiff2ps.1.html \
tiff2rgba.1.html \
tiff2rgba.1.html \
TIFFbuffer.3t.html \
TIFFbuffer.3t.html \
TIFFClose.3t.html \
TIFFClose.3t.html \
TIFFbuffer.3tiff.html \
TIFFClose.3tiff.html \
tiffcmp.1.html \
tiffcmp.1.html \
TIFFcodec.3t.html \
TIFFcodec.3t.html \
TIFFcolor.3t.html \
TIFFcolor.3t.html \
TIFFcodec.3tiff.html \
TIFFcolor.3tiff.html \
tiffcp.1.html \
tiffcp.1.html \
TIFFDataWidth.3t.html \
TIFFDataWidth.3t.html \
tiffdither.1.html \
TIFFDataWidth.3tiff.html \
tiffdither.1.html \
tiffdump.1.html \
tiffdump.1.html \
TIFFError.3t.html \
TIFFError.3t.html \
TIFFFlush.3t.html \
TIFFFlush.3t.html \
TIFFGetField.3t.html \
TIFFGetField.3t.html \
tiffgt.1.html \
TIFFError.3tiff.html \
TIFFFlush.3tiff.html \
TIFFGetField.3tiff.html \
tiffgt.1.html \
tiffinfo.1.html \
tiffinfo.1.html \
tiffmedian.1.html \
tiffmedian.1.html \
TIFFmemory.3t.html \
TIFFmemory.3t.html \
TIFFOpen.3t.html \
TIFFOpen.3t.html \
TIFFPrintDirectory.3t.html \
TIFFPrintDirectory.3t.html \
TIFFquery.3t.html \
TIFFquery.3t.html \
TIFFReadDirectory.3t.html \
TIFFReadDirectory.3t.html \
TIFFReadEncodedStrip.3t.html \
TIFFReadEncodedStrip.3t.html \
TIFFReadEncodedTile.3t.html \
TIFFReadEncodedTile.3t.html \
TIFFReadRawStrip.3t.html \
TIFFReadRawStrip.3t.html \
TIFFReadRawTile.3t.html \
TIFFReadRawTile.3t.html \
TIFFReadRGBAImage.3t.html \
TIFFReadRGBAImage.3t.html \
TIFFReadRGBAStrip.3t.html \
TIFFReadRGBAStrip.3t.html \
TIFFReadRGBATile.3t.html \
TIFFReadRGBATile.3t.html \
TIFFReadScanline.3t.html \
TIFFReadScanline.3t.html \
TIFFReadTile.3t.html \
TIFFReadTile.3t.html \
TIFFRGBAImage.3t.html \
TIFFRGBAImage.3t.html \
TIFFSetDirectory.3t.html \
TIFFSetDirectory.3t.html \
TIFFSetField.3t.html \
TIFFSetField.3t.html \
TIFFmemory.3tiff.html \
TIFFOpen.3tiff.html \
TIFFPrintDirectory.3tiff.html \
TIFFquery.3tiff.html \
TIFFReadDirectory.3tiff.html \
TIFFReadEncodedStrip.3tiff.html \
TIFFReadEncodedTile.3tiff.html \
TIFFReadRawStrip.3tiff.html \
TIFFReadRawTile.3tiff.html \
TIFFReadRGBAImage.3tiff.html \
TIFFReadRGBAStrip.3tiff.html \
TIFFReadRGBATile.3tiff.html \
TIFFReadScanline.3tiff.html \
TIFFReadTile.3tiff.html \
TIFFRGBAImage.3tiff.html \
TIFFSetDirectory.3tiff.html \
TIFFSetField.3tiff.html \
tiffset.1.html \
TIFFsize.3t.html \
TIFFsize.3t.html \
TIFFsize.3tiff.html \
tiffsplit.1.html \
tiffsplit.1.html \
TIFFstrip.3t.html \
TIFFstrip.3t.html \
TIFFstrip.3tiff.html \
tiffsv.1.html \
tiffsv.1.html \
TIFFswab.3t.html \
TIFFswab.3t.html \
TIFFtile.3t.html \
TIFFtile.3t.html \
TIFFWarning.3t.html \
TIFFWarning.3t.html \
TIFFWriteDirectory.3t.html \
TIFFWriteDirectory.3t.html \
TIFFWriteEncodedStrip.3t.html \
TIFFWriteEncodedStrip.3t.html \
TIFFWriteEncodedTile.3t.html \
TIFFWriteEncodedTile.3t.html \
TIFFWriteRawStrip.3t.html \
TIFFWriteRawStrip.3t.html \
TIFFWriteRawTile.3t.html \
TIFFWriteRawTile.3t.html \
TIFFWriteScanline.3t.html \
TIFFWriteScanline.3t.html \
TIFFWriteTile.3t.html \
TIFFWriteTile.3t.html
TIFFswab.3tiff.html \
TIFFtile.3tiff.html \
TIFFWarning.3tiff.html \
TIFFWriteDirectory.3tiff.html \
TIFFWriteEncodedStrip.3tiff.html \
TIFFWriteEncodedTile.3tiff.html \
TIFFWriteRawStrip.3tiff.html \
TIFFWriteRawTile.3tiff.html \
TIFFWriteScanline.3tiff.html \
TIFFWriteTile.3tiff.html
dist_doc_DATA = $(docfiles)
INDEXSTART = '<HTML><HEAD><TITLE>Libtiff HTML manpage index</TITLE></HEAD><BODY BGCOLOR=white><ul><H2>Man Pages</h2><p>'
INDEXEND = '</ul></BODY></HTML>'
html:
${ECHO} ${INDEXSTART} > index.html
for i in ${MANSRCDIR}/*.3tiff; do \
${GROFF} $$i > `basename $$i`.html; \
${ECHO} '<li><A HREF='`basename $$i`'.html>'`basename $$i`'</a>' >> index.html; \
done
for i in ${MANSRCDIR}/*.1; do \
${GROFF} $$i > `basename $$i`.html; \
${ECHO} '<li><A HREF='`basename $$i`'.html>'`basename $$i`'</a>' >> index.html; \
done
${ECHO} ${INDEXEND} >> index.html