Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx010.isp.belgacom.be (inmx010.isp.belgacom.be [195.238.2.73])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id j0MM6fkU007022
        for <joris.at.lebbeke@skynet.be>; Sat, 22 Jan 2005 23:06:41 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx010.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j0MM6Tw6007996
        for <joris.at.lebbeke@skynet.be>; Sat, 22 Jan 2005 23:06:31 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 56F385E128C; Sat, 22 Jan 2005 17:06:14 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from www.shillest.net (202-181-97-198.r-bl100.sakura.ne.jp
	[202.181.97.198])
	by xserve.flids.com (Postfix) with ESMTP id D5F615E1278
	for <tiff@remotesensing.org>; Sat, 22 Jan 2005 17:06:11 -0500 (EST)
Received: from SKELPC01 (www.shillest.net [202.181.97.198])
	by www.shillest.net (8.13.3/8.12.11) with SMTP id j0MM68sk053839
	for <tiff@remotesensing.org>; Sun, 23 Jan 2005 07:06:09 +0900 (JST)
	(envelope-from skeleten@shillest.net)
Message-Id: <20050123070512.176179%skeleten@shillest.net>
MIME-Version: 1.0
Date: Sun, 23 Jan 2005 07:05:12 +0900
X-Mailer: Denshin 8 Go V32.1.5.1
From: Norihiko Murase <skeleten@shillest.net>
To: tiff@remotesensing.org
In-Reply-To: <20050115171249.GA8656@ak4719.spb.edu>
References: <Pine.LNX.4.43.0412271609110.2696-100000@pilchuck.reedmedia.net>
	<20050115171249.GA8656@ak4719.spb.edu>
X-Virus-Scanned: ClamAV 0.80/533/Sun Oct 17 10:09:44 2004
	clamav-milter version 0.80j on www.shillest.net
X-Virus-Status: Clean
Subject: [Tiff] Incomplete improvement
	for --with-docdir (Re: configure for docdir)
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 08fa0383e1fbff597863f0e02ba80d92

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>
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
