bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Bug#378239: $(MKINSTALLDIRS) is set to non-existent file $(top_build


From: Bruno Haible
Subject: Re: Bug#378239: $(MKINSTALLDIRS) is set to non-existent file $(top_builddir)/./mkinstalldirs when used with automake 1.9 (fwd)
Date: Mon, 17 Jul 2006 15:02:13 +0200
User-agent: KMail/1.9.1

Paolo Bonzini wrote: 
> In fact, in GNU sed I work around this with
> 
> AC_DEFUN([AM_MKINSTALLDIRS], [MKINSTALLDIRS="$mkdir_p" 
> AC_SUBST(MKINSTALLDIRS)])
> AM_GNU_GETTEXT_VERSION(0.14)
> AM_GNU_GETTEXT(no-libtool, need-ngettext, ../intl)
> AC_CONFIG_COMMANDS([gettext-fix], [
>   sed -e "/^mkinstalldirs *=/a\\
> install_sh=$install_sh" \
>       -e 's/^mkinstalldirs *=.*/mkinstalldirs=$(MKINSTALLDIRS)/' \
>       intl/Makefile > intl/Makefile.tmp
>   mv intl/Makefile.tmp intl/Makefile
>   sed -e "/^mkinstalldirs *=/a\\
> install_sh=$install_sh" \
>       -e 's/^mkinstalldirs *=.*/mkinstalldirs=$(MKINSTALLDIRS)/' \
>       po/Makefile > po/Makefile.tmp
>   mv po/Makefile.tmp po/Makefile], [
>   install_sh="$install_sh"])

With gettext-0.15 (not released yet), the 'mkinstalldirs' shell script
will no longer be needed and no longer be installed by gettextize.

Bruno




reply via email to

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