public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] newlib: add missing mkdir to header install
Date: Thu, 17 Feb 2022 01:04:35 +0000 (GMT)	[thread overview]
Message-ID: <20220217010435.E24263858D20@sourceware.org> (raw)

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 ; \


                 reply	other threads:[~2022-02-17  1:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220217010435.E24263858D20@sourceware.org \
    --to=vapier@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).