[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkinstalldirs --version
From: |
Bruno Haible |
Subject: |
Re: mkinstalldirs --version |
Date: |
Sun, 15 Jun 2003 17:10:44 +0200 |
User-agent: |
KMail/1.5 |
Alexandre Duret-Lutz wrote:
> Bruno> 2. it doesn't have the "mkdir -p" optimization that
> Bruno> mkinstalldirs has.
>
> Then, how about a configure test to set `mkinstalldirs = mkdir -p'
> when it works? (This, of course, is independent of whether the
> replacement is mkinstalldirs or install-sh.)
This would be good. Use Posix command on those systems which
have them.
Just for info (so you can avoid a clash): GNU gettext uses the
@MKINSTALLDIRS@ autoconf variable to point to the mkinstalldirs script
(see AM_MKINSTALLDIRS in nls.m4), and it uses the $(mkinstalldirs)
Makefile variable to contain the command for creating directories.
So if you define an autoconf variable @mkinstalldirs@ containing
either
mkdir -p [on systems that support it]
or
$(SHELL) $(MKINSTALLDIRS)
or
$(SHELL) pathname_to_install_sh -d
it would be fine w.r.t. gettext.
> This license was fixed in Automake 1.7.5.
Good!
Bruno