public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] newlib: add missing mkdir to header install
@ 2022-02-17 1:04 Michael Frysinger
0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-02-17 1:04 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=01ed65ed09909a278580792653c77e169fb7f561
commit 01ed65ed09909a278580792653c77e169fb7f561
Author: Mike Frysinger <vapier@gentoo.org>
Date: Tue Feb 15 21:07:27 2022 -0500
newlib: add missing mkdir to header install
Make sure these subdirs exist before trying to install headers into them.
Diff:
---
newlib/Makefile.am | 1 +
newlib/Makefile.in | 1 +
2 files changed, 2 insertions(+)
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index 67fb1e8ba..6d3b60b33 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -335,6 +335,7 @@ install-data-local: install-toollibLIBRARIES install-multi
done ; \
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
if [ -d $$i ]; then \
+ $(MKDIR_P) $(DESTDIR)$(tooldir)/include/`basename $$i`; \
for j in $$i/*.h; do \
$(INSTALL_DATA) $$j $(DESTDIR)$(tooldir)/include/`basename $$i`/`basename $$j`; \
done ; \
diff --git a/newlib/Makefile.in b/newlib/Makefile.in
index 969027f7c..5a83f8608 100644
--- a/newlib/Makefile.in
+++ b/newlib/Makefile.in
@@ -1624,6 +1624,7 @@ install-data-local: install-toollibLIBRARIES install-multi
done ; \
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
if [ -d $$i ]; then \
+ $(MKDIR_P) $(DESTDIR)$(tooldir)/include/`basename $$i`; \
for j in $$i/*.h; do \
$(INSTALL_DATA) $$j $(DESTDIR)$(tooldir)/include/`basename $$i`/`basename $$j`; \
done ; \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-17 1:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-17 1:04 [newlib-cygwin] newlib: add missing mkdir to header install Michael Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).