summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-16 21:38:29 +0000
committerKarl Berry <karl@freefriends.org>2017-02-16 21:38:29 +0000
commit78023e54f67ddbb6301ba75088b343da08e46dc0 (patch)
treeea20ac26e46c8091d753ed829abff2dd32aef78b /Build
parent91919cef1a6828ee817c3924b3a07d0cd9955900 (diff)
(install-bin-links): mkdir bindir first
git-svn-id: svn://tug.org/texlive/trunk@43248 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/ChangeLog5
-rw-r--r--Build/source/am/bin_links.am7
2 files changed, 10 insertions, 2 deletions
diff --git a/Build/source/ChangeLog b/Build/source/ChangeLog
index 681437b64fd..0ad46ff6ce2 100644
--- a/Build/source/ChangeLog
+++ b/Build/source/ChangeLog
@@ -1,3 +1,8 @@
+2017-02-16 Karl Berry <karl@tug.org>
+
+ * am/bin_links.am: $(MKDIR_P) $(DESTDIR)$(bindir) to be sure,
+ since this can end up being called first with --disable-all-pkgs.
+
2016-11-16 Karl Berry <karl@tug.org>
* Makefile.am (install-exec-hook): warn that the
diff --git a/Build/source/am/bin_links.am b/Build/source/am/bin_links.am
index 3cb7406b603..19837fa4b30 100644
--- a/Build/source/am/bin_links.am
+++ b/Build/source/am/bin_links.am
@@ -1,6 +1,8 @@
-## am/bin_links.am: Makefile fragment for bindir links.
+# $Id$
+# am/bin_links.am: Makefile fragment for bindir links.
##
-## Copyright (C) 2011-2013 Peter Breitenlohner <tex-live@tug.org>
+## Copyright 2017 Karl Berry <tex-live@tug.org>
+## Copyright 2011-2013 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
## requires conditional WIN32
@@ -15,6 +17,7 @@
install-bin-links:
if !WIN32
+ $(MKDIR_P) $(DESTDIR)$(bindir)
@cd $(DESTDIR)$(bindir) && \
for s in $(bin_links); do \
link=`echo $$s | sed 's,.*:,,'`; \