[Top][All Lists]

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

Re: Creating subdirs of distdir

From: Stepan Kasal
Subject: Re: Creating subdirs of distdir
Date: Tue, 23 May 2006 15:29:01 +0200
User-agent: Mutt/


On Sun, May 14, 2006 at 07:32:57PM +0200, Ralf Wildenhues wrote:
> Hmm.  You could "sort -u" the list of directories to create at "make
> dist" time.

nice idea.  Attached please find a patch which implements it.

The patch eliminates the following
        dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`
        $(mkdir_p) ...
for each distributed file which is not a directory, eliminating
4 processes for each of them.

The new code is only five processes, so the gain is obvious.

The patch passes the testsuite.

Have a nice day,
        Stepan Kasal

Attachment: automake-20060522-distdir.patch
Description: Text document

reply via email to

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