[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions on 'make dist'
From: |
NightStrike |
Subject: |
Re: Questions on 'make dist' |
Date: |
Wed, 19 Mar 2008 14:05:48 -0400 |
On 3/11/08, Bob Friesenhahn <address@hidden> wrote:
> On Tue, 11 Mar 2008, NightStrike wrote:
> >
> > I think I understand what you mean. Create a recursive build tree
> > that allows starting from any point. I would then perhaps put this
> > also in the trunk/Makefile.am:
> >
> > EXTRA_DIST=mingw-w64-headers mingw-w64-doc
> >
> > So that from the trunk directory, I could run 'make dist' and it would
> > grab everything, yes?
> >
> > I had intended to do everything with non-recursive make, but as you
> > pointed out once, non-recursive is also considered harmful.
>
> In what way is non-recursive considered harmful?
>
> This is what I use in my package to distribute directories that
> automake otherwise does not know about:
>
> # Non-Automake subdirectories to distribute
> DISTDIRS = images locale scenes scripts www PerlMagick TclMagick
> dist-hook:
> ( \
> builddir=`pwd` ; \
> cd $(srcdir) && \
> ( \
> for dir in $(DISTDIRS) ; do \
> find $$dir -depth -print | egrep -v
> '(~$$)|(/CVS)|(/\.#)|(/\.deps)' \
> | cpio -pdum $$builddir/$(distdir) 2> /dev/null ; \
> done \
> ) \
> )
The issue here is that the extra directory in this case would be
"../mingw-w64-headers" -- ie, it's one level higher up in the tree.
- Re: Questions on 'make dist', (continued)
- Re: Questions on 'make dist', Ralf Wildenhues, 2008/03/11
- Re: Questions on 'make dist', NightStrike, 2008/03/11
- Re: Questions on 'make dist', Bob Friesenhahn, 2008/03/11
- Re: Questions on 'make dist', NightStrike, 2008/03/19
- Re: Questions on 'make dist', Stepan Kasal, 2008/03/19
- Re: Questions on 'make dist', NightStrike, 2008/03/19
- Re: Questions on 'make dist', Stepan Kasal, 2008/03/19
- Re: Questions on 'make dist', NightStrike, 2008/03/19
- Re: Questions on 'make dist', Stepan Kasal, 2008/03/19
- Re: Questions on 'make dist', Ralf Wildenhues, 2008/03/20
- Re: Questions on 'make dist',
NightStrike <=