AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.12.28 00:15 "[Tiff] configure for docdir", by Jeremy C. Reed
2005.01.15 17:12 "Re: [Tiff] configure for docdir", by Andrey Kiselev
2005.01.22 22:05 "[Tiff] Incomplete improvement for --with-docdir (Re: configure for docdir)", by Norihiko Murase
2005.01.23 09:37 "Re: [Tiff] Incomplete improvement for --with-docdir (Re: configure for docdir)", by Andrey Kiselev

2005.01.22 22:05 "[Tiff] Incomplete improvement for --with-docdir (Re: configure for docdir)", by Norihiko Murase

Hi,

Ok, I did that. Use --with-docdir option for now.

That's a good idea, I think; however, the improvement made on 2005-01-15 might be incomplete. X-(

Probably, you should modify
  html/images/Makefile.am
  html/man/Makefile.am

as well as html/Makefile.am and configure.ac. The image files for the html documents and the manual html files should be located in $(LIBTIFF_DOCDIR)/images/ and in $(LIBTIFF_DOCDIR)/man/ respectively.

# Note that the html documents refer to the image files by
# the following:
# <IMG SRC=images/...>
# and that html/index.html file has the link to the index
# of the manual html files by the following:
# <A HREF="man/index.html">...

I hope the following patch fixes this problem: ----------(cut here)---------- diff -r -U 2 libtiff.orig/html/images/Makefile.am libtiff/html/images/Makefile.am

--- libtiff.orig/html/images/Makefile.am        Fri Nov  5 00:27:46 2004

+++ libtiff/html/images/Makefile.am Sun Jan 23 05:33:26 2005
@@ -24,5 +24,5 @@
 # Process this file with automake to produce Makefile.in.

-docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)/html/images +docdir = $(LIBTIFF_DOCDIR)/images

 docfiles = \

diff -r -U 2 libtiff.orig/html/man/Makefile.am libtiff/html/man/Makefile.am --- libtiff.orig/html/man/Makefile.am Sun Jan 16 02:24:53 2005

+++ libtiff/html/man/Makefile.am Sun Jan 23 05:33:51 2005
@@ -24,5 +24,5 @@
 # Process this file with automake to produce Makefile.in.

-docdir = $(LIBTIFF_DOCDIR)
+docdir = $(LIBTIFF_DOCDIR)/man

 docfiles = \
----------(cut here)----------

Best regards,

---
Norihiko Murase <skeleten [AT] shillest.net>