automake
[Top][All Lists]
Advanced

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

Re: MKDIR_P vs. mkdir_p and automake versions


From: Ralf Corsepius
Subject: Re: MKDIR_P vs. mkdir_p and automake versions
Date: Wed, 14 May 2008 05:43:35 +0200

On Tue, 2008-05-13 at 07:55 -0400, David Bruce wrote:
> Hi,
> 
> On Tuesday 13 May 2008 04:37:16 am Stepan Kasal wrote:
> > Hello,
> >
> > > On Mon, 2008-05-12 at 11:22 -0400, David Bruce wrote:
> > > > "MKDIR_P" is recommended but requires automake-1.10 or higher.  [...]
> > > >  is there an acceptable workaround?
> >
> > forgive me stating the obvious, but the workaround is to use
> > $(mkdir_p).  It will work in Automake 1.10.x, perhaps even longer.
> 
> Well, of course. What I meant was that I wanted the code in the svn 
> repository 
> to be as "correct" as possible, so I used MKDIR_P.  My thought was whether 
> there was some sort of autotools conditional that would allow this to work 
> with automake 1.9 (i.e. if automake version < 1.10, define "MKDIR_P" to 
> be "mkdir_p").
> 
> It seems like anyone working on my project just needs to use AM 1.10 or 
> higher. 
>From my experience, this is the only viable approach. It's what I do.

Trying to stay "backward compatible" in longer terms only leads to
code-rot and doesn't really help active projects.

Ralf






reply via email to

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