]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Simplify MKINSTALLDIRS.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Mar 2003 16:10:07 +0000 (16:10 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:15 +0000 (12:10 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/Makefile.in
gettext-runtime/m4/ChangeLog
gettext-runtime/m4/gettext.m4
gettext-runtime/po/ChangeLog
gettext-runtime/po/Makefile.in.in
gettext-tools/po/ChangeLog
gettext-tools/po/Makefile.in.in

index ae8decfd440b9ff86eeeaca8e64189d308952516..49ed8a0bebfe0068eb89c734d5df10e43d41f8b2 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-28  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.in (mkinstalldirs): Simplify. Prepending "$(top_builddir)/"
+       in the case of a relative $srcdir is now handled in gettext.m4.
+
 2003-02-28  Bruno Haible  <bruno@clisp.org>
 
        * localcharset.h: Change copyright to LGPL. Enclose declaration in
index 9ee4361a1889f180f467f195cd83b1cb96709bc7..b6b0485488b11477ccb1c069f89df2d31a68b5e6 100644 (file)
@@ -39,7 +39,7 @@ subdir = intl
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 MKINSTALLDIRS = @MKINSTALLDIRS@
-mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
+mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
 
 l = @INTL_LIBTOOL_SUFFIX_PREFIX@
 
index 42d6e4be8946509fae44eb61b738a5ed2dd77f32..65c6ba92edc796f2490d517c881b7cc794b64ec3 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-28  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.m4 (AM_MKINSTALLDIRS): Fix MKINSTALLDIRS for when AC_AUX_DIR
+       is given and $srcdir is a relative directory.
+
 2003-02-16  Bruno Haible  <bruno@clisp.org>
 
        * gettext.m4 (AM_PO_SUBDIRS): Require an xgettext that supports the
index 6fd1fa0997f55df526375f270c505f3f5cc27e0a..6b1f6aa3249b891134ce4d61e204b3f5d6dc54f4 100644 (file)
@@ -1,4 +1,4 @@
-# gettext.m4 serial 18 (gettext-0.12)
+# gettext.m4 serial 19 (gettext-0.12)
 dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -597,10 +597,13 @@ AC_DEFUN([AM_MKINSTALLDIRS],
 [
   dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
   dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
-  dnl Try to locate is.
+  dnl Try to locate it.
   MKINSTALLDIRS=
   if test -n "$ac_aux_dir"; then
-    MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
+    case "$ac_aux_dir" in
+      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
+      *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
+    esac
   fi
   if test -z "$MKINSTALLDIRS"; then
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
index cea2a51a9dff7d0bc9f9d0fdc4919575430fba71..1690181204239956e7e941986cfb8273af163a42 100644 (file)
@@ -1,3 +1,9 @@
+2003-02-28  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.in.in (mkinstalldirs): Simplify. Prepending
+       "$(top_builddir)/" in the case of a relative $srcdir is now handled
+       in gettext.m4.
+
 2003-02-24  Bruno Haible  <bruno@clisp.org>
 
        * de.po: Update from Karl Eichwalder <ke@suse.de>.
index fa15e7f84fbdafbad13353aecd337e671ea76727..cfe7e01e9d2200894a1547dd6c0860cef800ea43 100644 (file)
@@ -27,7 +27,7 @@ gettextsrcdir = $(datadir)/gettext/po
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 MKINSTALLDIRS = @MKINSTALLDIRS@
-mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
+mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
 
 GMSGFMT = @GMSGFMT@
 MSGFMT = @MSGFMT@
index 21360f47c9f58a3169680b3d08b51da98df725d9..759aa2981aee4f6b1c8c76edf1f8af983d6cfe2d 100644 (file)
@@ -1,3 +1,9 @@
+2003-02-28  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.in.in (mkinstalldirs): Simplify. Prepending
+       "$(top_builddir)/" in the case of a relative $srcdir is now handled
+       in gettext.m4.
+
 2003-02-24  Bruno Haible  <bruno@clisp.org>
 
        * ca.po: Update from Ivan Vilata i Balaguer <ivan@selidor.net>.
index fa15e7f84fbdafbad13353aecd337e671ea76727..cfe7e01e9d2200894a1547dd6c0860cef800ea43 100644 (file)
@@ -27,7 +27,7 @@ gettextsrcdir = $(datadir)/gettext/po
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 MKINSTALLDIRS = @MKINSTALLDIRS@
-mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
+mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
 
 GMSGFMT = @GMSGFMT@
 MSGFMT = @MSGFMT@