[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] configure: pre-create build directories for VPATH builds

From: Greg Stein <gstein_at_gmail.com>
Date: Sat, 5 Nov 2011 08:01:20 -0400

On Nov 5, 2011 6:06 AM, "Philip Martin" <philip.martin_at_wandisco.com> wrote:
>
> Jonathan Nieder <jrnieder_at_gmail.com> writes:
>
> > Index: configure.ac
> > ===================================================================
> > --- configure.ac (revision 1197804)
> > +++ configure.ac (working copy)
> > @@ -1374,6 +1374,15 @@
> >
> > AC_OUTPUT
> >
> > +if test "$abs_srcdir" != "$abs_builddir"
> > +then
> > + AC_MSG_NOTICE([Creating build directories])
> > + (
> > + cd "$abs_srcdir"
> > + find subversion tools contrib -name .svn -prune -o -type d -print
> > + ) | xargs $MKDIR
> > +fi
> > +
>
> We have a mkdir-init target in the Makefile that is supposed to create
> the build directories.

Right. It creates what is needed rather than a scattershot hope.

Jonathan: can you adjust mkdir-init to include *just* the directories
necessary, that you've found through your new test?

Cheers,
-g
Received on 2011-11-05 13:01:57 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.