bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A problem (bug) in automake (1.10 and earlier version) + patch


From: Peter Breitenlohner
Subject: A problem (bug) in automake (1.10 and earlier version) + patch
Date: Thu, 26 Oct 2006 12:23:39 +0200 (CEST)

The original message below was held for moderator approval because I had not
(yet) subscribed to this list.

Attached is a tiny patch addressing this problem

regards
Peter Breitenlohner <address@hidden>

---------- Forwarded message ----------
Date: Tue, 24 Oct 2006 16:49:00 +0200 (CEST)
From: Peter Breitenlohner <address@hidden>
To: address@hidden
Subject: A problem (bug) in automake (1.10 and earlier version)

I have noticed the following problem (bug) in automake-1.10:

(1) A package (ImageMagick-6.3.0) uses configure to generate manpages with
substitutions (e.g., xxxx.1 from xxxx.1.in) but also distributes the
generated manpages (with different substitutions).

(2) The automake-generated rule to install manpages looks for the files to
install FIRST under ${srcdir} and THEN under the current directory.

===============

The effect of (1)+(2) is, that the manpages with the wrong substitutions are
installed.

===============

(1) is certainly not the right way to do things.

On the other hand I would think that (2) is equally wrong. Whenever a file
is to be installed, then the automake-generated rules should FIRST look for
that file in the current directory and THEN under ${srcdir}!

===============

Peter Breitenlohner <address@hidden>

Attachment: automake-1.10-patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]