[Top][All Lists]

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

Re: Questions on 'make dist'

From: Bob Friesenhahn
Subject: Re: Questions on 'make dist'
Date: Tue, 11 Mar 2008 20:36:17 -0500 (CDT)

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/

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
        ( \
          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 \
          ) \

Bob Friesenhahn
GraphicsMagick Maintainer,

reply via email to

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