]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
configury: create installation dir before writing to it.
authorGary V. Vaughan <gary@gnu.org>
Mon, 3 Nov 2014 13:05:22 +0000 (13:05 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 3 Nov 2014 13:07:15 +0000 (13:07 +0000)
* Makefile.am (install-scripts-local): Don't forget to make the
installation target directory before writing to it.
* NO-THANKS: Update.
Reported by Allan McRae

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Makefile.am
NO-THANKS

index b47f001355ac203c262573af0a3167fd1a23fd94..38f2dbd53690ab7bc42a9765bccf77a594ce95f1 100644 (file)
@@ -515,6 +515,8 @@ install-scripts-local: $(lt_Makefile_in)
 ## Inline helper-scripts for installed libtoolize script
        @p=`echo libtoolize |sed -e '$(transform)'`; \
        echo " $(SCRIPT_ENV) '$(inline_source)' libtoolize > '$(DESTDIR)$(bindir)/$$p'"; \
+       d=`echo "$(DESTDIR)$(bindir)/$$p" |$(SED) 's|[^/]*$$||'`; \
+       test -d "$$d" || $(mkinstalldirs) "$$d"; \
        $(SCRIPT_ENV) '$(inline_source)' libtoolize > "$(DESTDIR)$(bindir)/$$p"; \
        chmod a+x "$(DESTDIR)$(bindir)/$$p"
 
index 10b84da1793deedc23668b474e74f1f43b57cc71..2bed9cc2ed1a2639f31e1f84f80f33ded330edb9 100644 (file)
--- a/NO-THANKS
+++ b/NO-THANKS
@@ -66,6 +66,7 @@ Vincent Torri                 vtorri@univ-evry.fr
 ## time with 'git commit --author=...' and other non-patch contributers
 ## below:
 ##
+Allan McRae                    allan@archlinux.org
 Andreas Schiffler              aschiffler@ferzkopp.net
 Brent Leback                   brent.leback@st.com
 Camilo La Rota                 camilo.larota@ens-lyon.fr