* Makefile.in: Make sure that directories are created prior to copying to them.
This commit is contained in:
parent
a5ac89cbbd
commit
d9b8d62966
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2005-10-11 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* net.cc (cygwin_gethostbyname): Remove debugging.
|
* net.cc (cygwin_gethostbyname): Remove debugging.
|
||||||
|
|
|
@ -69,6 +69,7 @@ OBJCOPY:=@OBJCOPY@
|
||||||
OBJDUMP:=@OBJDUMP@
|
OBJDUMP:=@OBJDUMP@
|
||||||
STRIP:=@STRIP@
|
STRIP:=@STRIP@
|
||||||
LDSCRIPT:=cygwin.sc
|
LDSCRIPT:=cygwin.sc
|
||||||
|
MKDIRP:=$(INSTALL_DATA) -d
|
||||||
|
|
||||||
#
|
#
|
||||||
# Include common definitions for winsup directory
|
# 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
|
uninstall: uninstall-libs uninstall-headers uninstall-man
|
||||||
|
|
||||||
install-libs: $(TARGET_LIBS)
|
install-libs: $(TARGET_LIBS)
|
||||||
|
@$(MKDIRP) $(bindir)
|
||||||
$(INSTALL_PROGRAM) $(TEST_DLL_NAME) $(bindir)/$(DLL_NAME); \
|
$(INSTALL_PROGRAM) $(TEST_DLL_NAME) $(bindir)/$(DLL_NAME); \
|
||||||
for i in $^; do \
|
for i in $^; do \
|
||||||
$(INSTALL_DATA) $$i $(tooldir)/lib/`basename $$i` ; \
|
$(INSTALL_DATA) $$i $(tooldir)/lib/`basename $$i` ; \
|
||||||
|
@ -305,6 +307,7 @@ install-libs: $(TARGET_LIBS)
|
||||||
install-headers:
|
install-headers:
|
||||||
cd $(srcdir); \
|
cd $(srcdir); \
|
||||||
for sub in `find include -name '[a-z]*' -type d -print | sort`; do \
|
for sub in `find include -name '[a-z]*' -type d -print | sort`; do \
|
||||||
|
$(MKDIRP) $(tooldir)/$$sub; \
|
||||||
for i in $$sub/*.h ; do \
|
for i in $$sub/*.h ; do \
|
||||||
$(INSTALL_DATA) $$i $(tooldir)/$$sub/`basename $$i` ; \
|
$(INSTALL_DATA) $$i $(tooldir)/$$sub/`basename $$i` ; \
|
||||||
done ; \
|
done ; \
|
||||||
|
@ -312,6 +315,7 @@ install-headers:
|
||||||
$(INSTALL_DATA) regex/regex.h $(tooldir)/include/regex.h
|
$(INSTALL_DATA) regex/regex.h $(tooldir)/include/regex.h
|
||||||
|
|
||||||
install-man:
|
install-man:
|
||||||
|
@$(MKDIRP) $(mandir)/man2 $(mandir)/man3 $(mandir)/man5 $(mandir)/man7
|
||||||
cd $(srcdir); \
|
cd $(srcdir); \
|
||||||
for i in `find . -type f -name '*.2'`; do \
|
for i in `find . -type f -name '*.2'`; do \
|
||||||
$(INSTALL_DATA) $$i $(mandir)/man2/`basename $$i` ; \
|
$(INSTALL_DATA) $$i $(mandir)/man2/`basename $$i` ; \
|
||||||
|
|
Loading…
Reference in New Issue