From: Bruno Haible Date: Sun, 24 Feb 2019 21:06:41 +0000 (+0100) Subject: libintl: Fix installation with BSD 'make'. X-Git-Tag: v0.20~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcfa249eb2af3847c7b4e6ee655156db7a389a9e;p=thirdparty%2Fgettext.git libintl: Fix installation with BSD 'make'. * gettext-runtime/intl/Makefile.am (install-exec-libintl): Create destination directory first. --- diff --git a/gettext-runtime/intl/Makefile.am b/gettext-runtime/intl/Makefile.am index 491a1039d..517e2d206 100644 --- a/gettext-runtime/intl/Makefile.am +++ b/gettext-runtime/intl/Makefile.am @@ -1,6 +1,6 @@ ## Makefile for the gettext-runtime/intl and gettext-tools/intl subdirectories ## of GNU gettext. -## Copyright (C) 1995-1998, 2000-2007, 2009-2018 Free Software Foundation, Inc. +## Copyright (C) 1995-1998, 2000-2007, 2009-2019 Free Software Foundation, Inc. ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU Lesser General Public License as published by @@ -365,6 +365,7 @@ if USE_INCLUDED_LIBINTL install-exec-local: install-exec-libintl install-exec-libintl: libintl.la + $(mkdir_p) $(DESTDIR)$(libdir) $(LIBTOOL) --mode=install \ $(INSTALL_DATA) libintl.la $(DESTDIR)$(libdir)/libintl.la; \ if test "@RELOCATABLE@" = yes; then \ @@ -376,12 +377,12 @@ install-exec-libintl: libintl.la installdirs-local: installdirs-libintl installdirs-libintl: - $(mkdir_p) $(DESTDIR)$(libdir) + $(mkdir_p) $(DESTDIR)$(libdir) uninstall-local: uninstall-libintl uninstall-libintl: - $(LIBTOOL) --mode=uninstall \ - rm -f $(DESTDIR)$(libdir)/libintl.la + $(LIBTOOL) --mode=uninstall \ + rm -f $(DESTDIR)$(libdir)/libintl.la endif