[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20186: Failure to create directory during info-building phase of "ma
From: |
Peter Breitenlohner |
Subject: |
bug#20186: Failure to create directory during info-building phase of "make distcheck" |
Date: |
Wed, 25 Mar 2015 13:47:57 +0100 (CET) |
User-agent: |
Alpine 2.11 (LSU 23 2013-08-11) |
On Tue, 24 Mar 2015, James Youngman wrote:
The timestamps look OK to me:
...
Perhaps the cause is this rule, though:
dblocation.texi: ../locate/dblocation.texi
cp ../locate/dblocation.texi $@
This will clearly update the mtime of dblocation.texi.
Hi James,
indeed. You could use the modified rule
dblocation.texi: ../locate/dblocation.texi
$(LN_S) ../locate/dblocation.texi $@
where $(LN_S) is 'ln -s' on systems with working symlinks or otherwise one
of 'ln' or 'cp'. I assume your Makefile.in already contains
LN_S = @LN_S@
otherwise you should add
AC_PROG_LN_S
to your configure.ac.
I assume 'make distcheck' will never run on systems without working symlinks
so this should be OK.
Regards
Peter