automake-patches
[Top][All Lists]
Advanced

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

Patch for a bug in distdir


From: dpovey
Subject: Patch for a bug in distdir
Date: Tue, 30 Oct 2001 11:51:30 +1000

Hi all,

This is a repost of a problem I posted to the main list, that got lost in 
noise. I ran across the following in Automake 1.5 which I believe is a bug.

If you include a directory in EXTRA_DIST that is in the build dir, it does 
not get included in the distribution.

For example when using the following Makefile.am:

EXTRA_DIST=foo

foo:
        mkdir foo
        touch foo/bar

When using the above and configuring with a different source and build
directory make distdir will fail with a file not found error.

We need to do this in one of our projects to include documentation that is
automatically generated as part of the distribution.

The problem is trivially fixed.  I tracked it down to a test -f being done
on DISTFILES in the distdir rule rather than test -f || test -d.  The 
following patch seems to fix the problem.

Attachment: patch
Description: patch

Dean Povey,              |em: address@hidden|  JCSI: Java security toolkit
Senior S/W Developer     |ph:  +61 7 3864 5120    | uPKI: Embedded/C PKI toolkit
Wedgetail Communications |fax: +61 7 3864 1282    |       uASN.1: ASN.1 Compiler
Brisbane, Australia      |www: www.wedgetail.com  | XML Security: XML 
Signatures 

reply via email to

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