[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Produce symlink into builddir on VPATH?
From: |
Eric Blake |
Subject: |
Re: Produce symlink into builddir on VPATH? |
Date: |
Wed, 11 Jun 2014 16:48:53 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 06/11/2014 04:18 PM, Rhys Ulerich wrote:
> Other than resorting to the shell in a target, is there a way to cause
> Automake to produce a symlink from the source tree into the build tree
> if-and-only-if the build is VPATH?
Yes, for new enough autotools. See how gnulib does it for GNUmakefile:
http://git.savannah.gnu.org/cgit/gnulib.git/tree/modules/gnumakefile
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature