| 1 |
# |
| 2 |
# Tag Image File Format (TIFF) Software |
| 3 |
# |
| 4 |
# Copyright (C) 2004, Andrey Kiselev <[email protected]> |
| 5 |
# |
| 6 |
# Permission to use, copy, modify, distribute, and sell this software and |
| 7 |
# its documentation for any purpose is hereby granted without fee, provided |
| 8 |
# that (i) the above copyright notices and this permission notice appear in |
| 9 |
# all copies of the software and related documentation, and (ii) the names of |
| 10 |
# Sam Leffler and Silicon Graphics may not be used in any advertising or |
| 11 |
# publicity relating to the software without the specific, prior written |
| 12 |
# permission of Sam Leffler and Silicon Graphics. |
| 13 |
# |
| 14 |
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, |
| 15 |
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY |
| 16 |
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. |
| 17 |
# |
| 18 |
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR |
| 19 |
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, |
| 20 |
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, |
| 21 |
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF |
| 22 |
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE |
| 23 |
# OF THIS SOFTWARE. |
| 24 |
|
| 25 |
# Process this file with automake to produce Makefile.in. |
| 26 |
|
| 27 |
docdir = $(LIBTIFF_DOCDIR)/manual |
| 28 |
|
| 29 |
rst_sources = \ |
| 30 |
index.rst \ |
| 31 |
build.rst \ |
| 32 |
internals.rst \ |
| 33 |
tools/tiffgt.rst \ |
| 34 |
tools/tiffdither.rst \ |
| 35 |
tools/tiff2pdf.rst \ |
| 36 |
tools/tiff2ps.rst \ |
| 37 |
tools/ppm2tiff.rst \ |
| 38 |
tools/raw2tiff.rst \ |
| 39 |
tools/fax2tiff.rst \ |
| 40 |
tools/tiffcrop.rst \ |
| 41 |
tools/tiff2bw.rst \ |
| 42 |
tools/fax2ps.rst \ |
| 43 |
tools/thumbnail.rst \ |
| 44 |
tools/tiffcmp.rst \ |
| 45 |
tools/tiffdump.rst \ |
| 46 |
tools/tiff2rgba.rst \ |
| 47 |
tools/tiffinfo.rst \ |
| 48 |
tools/rgb2ycbcr.rst \ |
| 49 |
tools/tiffset.rst \ |
| 50 |
tools/tiffsplit.rst \ |
| 51 |
tools/tiffmedian.rst \ |
| 52 |
tools/pal2rgb.rst \ |
| 53 |
tools/tiffcp.rst \ |
| 54 |
project/license.rst \ |
| 55 |
project/index.rst \ |
| 56 |
project/acknowledgements.rst \ |
| 57 |
project/bugs.rst \ |
| 58 |
project/mailinglist.rst \ |
| 59 |
project/psc.rst \ |
| 60 |
addingtags.rst \ |
| 61 |
specification/index.rst \ |
| 62 |
specification/bigtiff.rst \ |
| 63 |
specification/coverage.rst \ |
| 64 |
specification/technote2.rst \ |
| 65 |
specification/coverage-bigtiff.rst \ |
| 66 |
releases/v3.4beta028.rst \ |
| 67 |
releases/v4.0.9.rst \ |
| 68 |
releases/v3.9.0.rst \ |
| 69 |
releases/v4.0.7.rst \ |
| 70 |
releases/v3.5.7.rst \ |
| 71 |
releases/v4.0.0.rst \ |
| 72 |
releases/v3.7.0beta2.rst \ |
| 73 |
releases/v3.7.1.rst \ |
| 74 |
releases/index.rst \ |
| 75 |
releases/v3.8.0.rst \ |
| 76 |
releases/v4.1.0.rst \ |
| 77 |
releases/historical.rst \ |
| 78 |
releases/v3.5.6beta.rst \ |
| 79 |
releases/v3.6.1.rst \ |
| 80 |
releases/v4.2.0.rst \ |
| 81 |
releases/v3.7.0.rst \ |
| 82 |
releases/v4.0.1.rst \ |
| 83 |
releases/v3.5.1.rst \ |
| 84 |
releases/v4.0.10.rst \ |
| 85 |
releases/v4.0.6.rst \ |
| 86 |
releases/v4.0.8.rst \ |
| 87 |
releases/v3.9.1.rst \ |
| 88 |
releases/v3.4beta029.rst \ |
| 89 |
releases/v4.3.0.rst \ |
| 90 |
releases/v3.4beta031.rst \ |
| 91 |
releases/v3.7.0alpha.rst \ |
| 92 |
releases/v3.6.0.rst \ |
| 93 |
releases/v3.4beta036.rst \ |
| 94 |
releases/v4.0.4beta.rst \ |
| 95 |
releases/v3.8.1.rst \ |
| 96 |
releases/v4.4.0.rst \ |
| 97 |
releases/v3.4beta035.rst \ |
| 98 |
releases/v3.4beta032.rst \ |
| 99 |
releases/v3.4beta007.rst \ |
| 100 |
releases/v3.9.0beta.rst \ |
| 101 |
releases/v3.8.2.rst \ |
| 102 |
releases/v3.4beta018.rst \ |
| 103 |
releases/v3.7.3.rst \ |
| 104 |
releases/v3.4beta016.rst \ |
| 105 |
releases/v3.7.4.rst \ |
| 106 |
releases/v3.5.2.rst \ |
| 107 |
releases/v4.0.5.rst \ |
| 108 |
releases/v3.4beta024.rst \ |
| 109 |
releases/v3.5.5.rst \ |
| 110 |
releases/v4.0.2.rst \ |
| 111 |
releases/v3.9.5.rst \ |
| 112 |
releases/v3.9.2.rst \ |
| 113 |
releases/v3.4beta033.rst \ |
| 114 |
releases/v3.4beta034.rst \ |
| 115 |
releases/v3.9.3.rst \ |
| 116 |
releases/v3.9.4.rst \ |
| 117 |
releases/v3.7.0beta.rst \ |
| 118 |
releases/v3.5.4.rst \ |
| 119 |
releases/v4.0.3.rst \ |
| 120 |
releases/v3.5.3.rst \ |
| 121 |
releases/v4.0.4.rst \ |
| 122 |
releases/v3.7.2.rst \ |
| 123 |
releases/v4.5.0.rst \ |
| 124 |
releases/v4.5.1.rst \ |
| 125 |
releases/v4.6.0.rst \ |
| 126 |
releases/v4.7.0.rst \ |
| 127 |
rfcs/index.rst \ |
| 128 |
rfcs/rfc1_psc.rst \ |
| 129 |
rfcs/rfc2_restoring_needed_tools.rst \ |
| 130 |
functions.rst \ |
| 131 |
tools.rst \ |
| 132 |
terms.rst \ |
| 133 |
contrib.rst \ |
| 134 |
functions/TIFFRGBAImage.rst \ |
| 135 |
functions/TIFFGetField.rst \ |
| 136 |
functions/TIFFSetDirectory.rst \ |
| 137 |
functions/TIFFWriteRawStrip.rst \ |
| 138 |
functions/TIFFcolor.rst \ |
| 139 |
functions/TIFFstrip.rst \ |
| 140 |
functions/TIFFReadDirectory.rst \ |
| 141 |
functions/TIFFReadRawTile.rst \ |
| 142 |
functions/libtiff.rst \ |
| 143 |
functions/TIFFPrintDirectory.rst \ |
| 144 |
functions/TIFFsize.rst \ |
| 145 |
functions/TIFFReadRGBATile.rst \ |
| 146 |
functions/TIFFswab.rst \ |
| 147 |
functions/TIFFmemory.rst \ |
| 148 |
functions/TIFFtile.rst \ |
| 149 |
functions/TIFFReadEncodedTile.rst \ |
| 150 |
functions/TIFFWriteDirectory.rst \ |
| 151 |
functions/TIFFSetField.rst \ |
| 152 |
functions/TIFFWriteScanline.rst \ |
| 153 |
functions/TIFFClose.rst \ |
| 154 |
functions/TIFFFieldName.rst \ |
| 155 |
functions/TIFFFieldReadCount.rst \ |
| 156 |
functions/TIFFError.rst \ |
| 157 |
functions/TIFFOpen.rst \ |
| 158 |
functions/TIFFOpenOptions.rst \ |
| 159 |
functions/TIFFcodec.rst \ |
| 160 |
functions/TIFFFlush.rst \ |
| 161 |
functions/TIFFDataWidth.rst \ |
| 162 |
functions/TIFFReadRawStrip.rst \ |
| 163 |
functions/TIFFReadTile.rst \ |
| 164 |
functions/TIFFFieldWriteCount.rst \ |
| 165 |
functions/TIFFbuffer.rst \ |
| 166 |
functions/TIFFWriteRawTile.rst \ |
| 167 |
functions/TIFFWarning.rst \ |
| 168 |
functions/TIFFFieldDataType.rst \ |
| 169 |
functions/TIFFWriteEncodedStrip.rst \ |
| 170 |
functions/TIFFFieldPassCount.rst \ |
| 171 |
functions/TIFFReadRGBAImage.rst \ |
| 172 |
functions/TIFFReadScanline.rst \ |
| 173 |
functions/TIFFReadEncodedStrip.rst \ |
| 174 |
functions/TIFFFieldTag.rst \ |
| 175 |
functions/TIFFWriteTile.rst \ |
| 176 |
functions/TIFFReadRGBAStrip.rst \ |
| 177 |
functions/TIFFquery.rst \ |
| 178 |
functions/TIFFWriteEncodedTile.rst \ |
| 179 |
functions/_TIFFauxiliary.rst \ |
| 180 |
functions/_TIFFRewriteField.rst \ |
| 181 |
functions/TIFFAccessTagMethods.rst \ |
| 182 |
functions/TIFFClientInfo.rst \ |
| 183 |
functions/TIFFCreateDirectory.rst \ |
| 184 |
functions/TIFFCustomDirectory.rst \ |
| 185 |
functions/TIFFCustomTagList.rst \ |
| 186 |
functions/TIFFDeferStrileArrayWriting.rst \ |
| 187 |
functions/TIFFFieldQuery.rst \ |
| 188 |
functions/TIFFMergeFieldInfo.rst \ |
| 189 |
functions/TIFFProcFunctions.rst \ |
| 190 |
functions/TIFFReadFromUserBuffer.rst \ |
| 191 |
functions/TIFFSetTagExtender.rst \ |
| 192 |
functions/TIFFStrileQuery.rst \ |
| 193 |
libtiff.rst \ |
| 194 |
multi_page.rst \ |
| 195 |
images.rst |
| 196 |
|
| 197 |
EXTRA_DIST = \ |
| 198 |
CMakeLists.txt \ |
| 199 |
conf.py \ |
| 200 |
specification/bigtiffpr_images \ |
| 201 |
images \ |
| 202 |
$(rst_sources) |
| 203 |
|
| 204 |
if TIFF_DOCS |
| 205 |
if SPHINX |
| 206 |
doc-html: $(EXTRA_DIST) ../configure.ac |
| 207 |
$(SPHINX_BUILD) \ |
| 208 |
-D "release=$(LIBTIFF_VERSION)" \ |
| 209 |
-D "version=$(LIBTIFF_MAJOR_VERSION).$(LIBTIFF_MINOR_VERSION)" \ |
| 210 |
-d "$(builddir)/cache" \ |
| 211 |
-b html \ |
| 212 |
"$(srcdir)" "$(builddir)/html" |
| 213 |
touch doc-html |
| 214 |
|
| 215 |
doc-man: $(EXTRA_DIST) ../configure.ac |
| 216 |
$(SPHINX_BUILD) \ |
| 217 |
-D "release=$(LIBTIFF_VERSION)" \ |
| 218 |
-D "version=$(LIBTIFF_MAJOR_VERSION).$(LIBTIFF_MINOR_VERSION)" \ |
| 219 |
-d "$(builddir)/cache" \ |
| 220 |
-b man \ |
| 221 |
"$(srcdir)" "$(builddir)/man" |
| 222 |
touch doc-man |
| 223 |
|
| 224 |
man1_MANS = $(TIFF_MAN1_GEN) |
| 225 |
man3_MANS = $(TIFF_MAN3_GEN) |
| 226 |
|
| 227 |
@TIFF_MAN_RULES@ |
| 228 |
|
| 229 |
all-local: doc-html doc-man |
| 230 |
|
| 231 |
clean-local: |
| 232 |
rm -rf html |
| 233 |
rm -rf man |
| 234 |
rm -rf cache |
| 235 |
rm -f doc-html |
| 236 |
rm -f doc-man |
| 237 |
|
| 238 |
html_installdir = html |
| 239 |
else |
| 240 |
# Sphinx not available |
| 241 |
doc-html: |
| 242 |
echo "HTML documentation generation not configured (sphinx not available)" |
| 243 |
exit 1 |
| 244 |
|
| 245 |
doc-man: |
| 246 |
echo "Manual page documentation generation not configured (sphinx not available)" |
| 247 |
exit 1 |
| 248 |
|
| 249 |
.PHONY: doc-html doc-man |
| 250 |
|
| 251 |
man1_MANS = $(TIFF_MAN1_PREBUILT) |
| 252 |
man3_MANS = $(TIFF_MAN3_PREBUILT) |
| 253 |
|
| 254 |
html_installdir = $(srcdir)/html-prebuilt |
| 255 |
endif |
| 256 |
|
| 257 |
|
| 258 |
install-data-local: all-local |
| 259 |
find $(html_installdir) -type d | sed -e 's;^$(html_installdir);;' | while read dir; do \ |
| 260 |
echo " $(MKDIR_P) '$(DESTDIR)$(docdir)$$dir'"; \ |
| 261 |
$(MKDIR_P) "$(DESTDIR)$(docdir)$$dir" || exit 1; \ |
| 262 |
done |
| 263 |
find $(html_installdir) -type f | sed -e 's;^$(html_installdir);;' | while read docfile; do \ |
| 264 |
docsubdir=$$(dirname $$docfile); \ |
| 265 |
echo "$(INSTALL_DATA) '$(html_installdir)$$docfile' '$(DESTDIR)$(docdir)$$docsubdir'"; \ |
| 266 |
$(INSTALL_DATA) "$(html_installdir)$$docfile" "$(DESTDIR)$(docdir)$$docsubdir"; \ |
| 267 |
done |
| 268 |
|
| 269 |
uninstall-local: |
| 270 |
echo "rm -r $(DESTDIR)$(docdir)" |
| 271 |
rm -r $(DESTDIR)$(docdir) |
| 272 |
else |
| 273 |
# Documentation generation disabled |
| 274 |
doc-html: |
| 275 |
echo "HTML documentation generation not configured" |
| 276 |
exit 1 |
| 277 |
|
| 278 |
doc-man: |
| 279 |
echo "Manual page documentation generation not configured" |
| 280 |
exit 1 |
| 281 |
|
| 282 |
.PHONY: doc-html doc-man |
| 283 |
|
| 284 |
endif |
| 285 |
|
| 286 |
dist-hook: doc-html doc-man |
| 287 |
cp -r html $(distdir)/html-prebuilt |
| 288 |
cp -r man $(distdir)/man-prebuilt |