aboutsummaryrefslogtreecommitdiff
path: root/newlib/Makefile.am
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2000-12-13 19:32:45 +0000
committerJeff Johnston <jjohnstn@redhat.com>2000-12-13 19:32:45 +0000
commitadbbb0348ccebe74a0dbb93307a6d3f96b757fc0 (patch)
treee3a055e5d11cf2ad5e9df50315af1b819a50454b /newlib/Makefile.am
parentfcd5787f95017f2350c03407596d5fd2cd7f7bdb (diff)
downloadnewlib-adbbb0348ccebe74a0dbb93307a6d3f96b757fc0.zip
newlib-adbbb0348ccebe74a0dbb93307a6d3f96b757fc0.tar.gz
newlib-adbbb0348ccebe74a0dbb93307a6d3f96b757fc0.tar.bz2
2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am: Fixed install-data-local target to use $(mkinstalldirs) for the installed header files to ensure the directories exist before copying. * Makefile.in: Regenerated.
Diffstat (limited to 'newlib/Makefile.am')
-rw-r--r--newlib/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index b78fd59..5e7c0fc 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -131,9 +131,11 @@ install-data-local: install-toollibLIBRARIES
ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
-if [ -z "$(MULTISUBDIR)" ]; then \
+ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
for i in $(srcdir)/libc/include/*.h; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
done; \
+ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
for i in $(srcdir)/libc/include/machine/*.h; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
done; \
@@ -142,6 +144,7 @@ install-data-local: install-toollibLIBRARIES
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
else true; fi ; \
done; \
+ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
for i in $(srcdir)/libc/include/sys/*.h; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
done; \