[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in distdir (Automake 1.5)
From: |
dpovey |
Subject: |
Bug in distdir (Automake 1.5) |
Date: |
Tue, 18 Sep 2001 14:07:05 +1000 |
Hi all,
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.
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 Communciations |fax: +61 7 3864 1282 | uASN.1: ASN.1 Compiler
Brisbane, Australia |www: www.wedgetail.com | XML Security: XML
Signatures
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug in distdir (Automake 1.5),
dpovey <=