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: Stepan Kasal
Subject: Re: MKDIR_P vs. mkdir_p and automake versions
Date: Tue, 13 May 2008 10:37:16 +0200
User-agent: Mutt/1.5.17 (2007-11-01)

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.

>      sure that the custom rules in your `Makefile's use `$(MKDIR_P)'
>      and not `$(mkdir_p)'.  Even if both variables still work, the
>      latter should be considered obsolete.

When you encounter a problem with $(mkdir_p) in a future version of
Automake, AM_INIT_AUTOMAKE([1.10]) will probably be no longer an
issue.

HTH,
        Stepan Kasal




reply via email to

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