diff options
author | Christopher Faylor <me@cgf.cx> | 2005-10-11 18:27:05 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-10-11 18:27:05 +0000 |
commit | d9b8d629669a44ad93acec4c954e187d1e50a609 (patch) | |
tree | 224a26471ca7a4be030973d36b5db38352a223bd /winsup/cygwin | |
parent | a5ac89cbbd9e8b8014d9558709c70d5a1b6326bc (diff) | |
download | newlib-d9b8d629669a44ad93acec4c954e187d1e50a609.zip newlib-d9b8d629669a44ad93acec4c954e187d1e50a609.tar.gz newlib-d9b8d629669a44ad93acec4c954e187d1e50a609.tar.bz2 |
* Makefile.in: Make sure that directories are created prior to copying to them.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/Makefile.in | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7e4272a..891e581 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2005-10-11 Christopher Faylor <cgf@timesys.com> + * Makefile.in: Make sure that directories are created prior to copying + to them. + +2005-10-11 Christopher Faylor <cgf@timesys.com> + * net.cc (cygwin_gethostbyname): Remove debugging. 2005-10-11 Corinna Vinschen <corinna@vinschen.de> diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index 3882897..cd85fbf 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -69,6 +69,7 @@ OBJCOPY:=@OBJCOPY@ OBJDUMP:=@OBJDUMP@ STRIP:=@STRIP@ LDSCRIPT:=cygwin.sc +MKDIRP:=$(INSTALL_DATA) -d # # Include common definitions for winsup directory @@ -297,6 +298,7 @@ install: install-libs install-headers install-man install_target \ uninstall: uninstall-libs uninstall-headers uninstall-man install-libs: $(TARGET_LIBS) + @$(MKDIRP) $(bindir) $(INSTALL_PROGRAM) $(TEST_DLL_NAME) $(bindir)/$(DLL_NAME); \ for i in $^; do \ $(INSTALL_DATA) $$i $(tooldir)/lib/`basename $$i` ; \ @@ -305,6 +307,7 @@ install-libs: $(TARGET_LIBS) install-headers: cd $(srcdir); \ for sub in `find include -name '[a-z]*' -type d -print | sort`; do \ + $(MKDIRP) $(tooldir)/$$sub; \ for i in $$sub/*.h ; do \ $(INSTALL_DATA) $$i $(tooldir)/$$sub/`basename $$i` ; \ done ; \ @@ -312,6 +315,7 @@ install-headers: $(INSTALL_DATA) regex/regex.h $(tooldir)/include/regex.h install-man: + @$(MKDIRP) $(mandir)/man2 $(mandir)/man3 $(mandir)/man5 $(mandir)/man7 cd $(srcdir); \ for i in `find . -type f -name '*.2'`; do \ $(INSTALL_DATA) $$i $(mandir)/man2/`basename $$i` ; \ |