+2006-09-10 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.in (install_sh): New variable.
+ Fixes "make install" errors in packages that have no 'mkinstalldirs'
+ file and use automake <= 1.9.x, on platforms where 'mkdir' does not
+ support the -p option.
+
+ * Makefile.in (mkinstalldirs): Prefix with $(SHELL).
+
2006-08-29 Bruno Haible <bruno@clisp.org>
* localcharset.c: Include configmake.h in order to get LIBDIR defined.
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
-mkinstalldirs = @install_sh@ -d
+
+# We use $(mkdir_p).
+# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
+# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
+# @install_sh@ does not start with $(SHELL), so we add it.
+# In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined
+# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
+# versions, $(mkinstalldirs) and $(install_sh) are unused.
+mkinstalldirs = $(SHELL) @install_sh@ -d
+install_sh = $(SHELL) @install_sh@
MKDIR_P = @MKDIR_P@
mkdir_p = @mkdir_p@
+2006-09-10 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.in.in (install_sh): New variable.
+ Fixes "make install" errors in packages that have no 'mkinstalldirs'
+ file and use automake <= 1.9.x, on platforms where 'mkdir' does not
+ support the -p option.
+
2006-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.in.in (MKDIR_P): New variable. Needed by $(mkdir_p) with
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
+
+# We use $(mkdir_p).
+# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
+# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
+# @install_sh@ does not start with $(SHELL), so we add it.
+# In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined
+# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
+# versions, $(mkinstalldirs) and $(install_sh) are unused.
mkinstalldirs = $(SHELL) @install_sh@ -d
+install_sh = $(SHELL) @install_sh@
MKDIR_P = @MKDIR_P@
mkdir_p = @mkdir_p@
+2006-09-10 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.in.in (install_sh): New variable.
+ Fixes "make install" errors in packages that have no 'mkinstalldirs'
+ file and use automake <= 1.9.x, on platforms where 'mkdir' does not
+ support the -p option.
+
2006-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.in.in (MKDIR_P): New variable. Needed by $(mkdir_p) with
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
+
+# We use $(mkdir_p).
+# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
+# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
+# @install_sh@ does not start with $(SHELL), so we add it.
+# In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined
+# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
+# versions, $(mkinstalldirs) and $(install_sh) are unused.
mkinstalldirs = $(SHELL) @install_sh@ -d
+install_sh = $(SHELL) @install_sh@
MKDIR_P = @MKDIR_P@
mkdir_p = @mkdir_p@