[Top][All Lists]

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

Re: dist-hook: keeping symlinks

From: Ralf Wildenhues
Subject: Re: dist-hook: keeping symlinks
Date: Tue, 16 Dec 2008 08:30:55 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Jeremiah,

* Jeremiah Benham wrote on Mon, Dec 15, 2008 at 07:42:14PM CET:
> On Sun, 2008-12-14 at 00:02 -0600, Bob Friesenhahn wrote:
> > On Sat, 13 Dec 2008, Jeremiah Benham wrote:
> > 
> > > I want to include a directory that has symlinks in it. How do I include
> > > this in a tarball? I tried adding this to the
> > 
> > What is your plan regarding operating systems which do not support 
> > symbolic links.  Will your extracted directory tree still work as 
> > expected?
> actually we have a different build script for other operating system. Is
> there anyway to perserve the links or must we do that as an
> install-data-hook?

There might be another way, but install-data-hook should be possible.
It should also be possible to write your own 'mydist' rule.  It could
depend on 'distdir' to populate $(distdir), and consist of a tarball
creation without flattening symlinks.

(I'm not actually sure whether any of the other tarball formats which
Automake supports through options, behave any different in this respect,
or whether pax would.  Don't think so, though.)

Hope that helps.


reply via email to

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