patch for winsup/cygwin/Makefile.in

Ronald Landheer-Cieslak blytkerchan@users.sourceforge.net
Wed Jul 23 17:01:00 GMT 2003


The attached patch fixes a (micro) problem that has been bugging me for a while
now: the various header files could not be installed with a `make install` 
without creating the proper directories first.

patch is against current CVS

HTH

rlc

NB: I've re-sent this because I don't think it arrived: I just switched to 
    mutt as a MUA (from Pine) and I didn't quite get the .muttrc file right
    the first time - sorry if you're getting this twice

Changelog is:
2003-07-23	Ronald Landheer-Cieslak <blytkerchan@users.sourceforge.net>
	* winsup/cygwin/Makefile.in <install-headers>: run mkinstalldirs before install for each directory
	<install-man>: ditto for each manpage dir
--

-------------- next part --------------
2003-07-23	Ronald Landheer-Cieslak <blytkerchan@users.sourceforge.net>
	* winsup/cygwin/Makefile.in <install-headers>: run mkinstalldirs before install for each directory
	<install-man>: ditto for each manpage dir

diff -u -r1.127 Makefile.in
--- winsup/cygwin/Makefile.in	7 Jul 2003 05:30:33 -0000	1.127
+++ winsup/cygwin/Makefile.in	23 Jul 2003 13:54:52 -0000
@@ -269,6 +269,7 @@
 	cd $(srcdir); \
 	for sub in `find include -name '[a-z]*' -type d -print | sort`; do \
 	    for i in $$sub/*.h ; do \
+	      $(SHELL) $(srcdir)/mkinstalldirs $(tooldir)/$$sub ; \
 	      $(INSTALL_DATA) $$i $(tooldir)/$$sub/`basename $$i` ; \
 	    done ; \
 	done ; \
@@ -277,15 +278,19 @@
 install-man:
 	cd $(srcdir); \
+	$(SHELL) $(srcdir)/mkinstalldirs $(tooldir)/man/man2 ; \
 	for i in `find . -type f -name '*.2'`; do \
 	    $(INSTALL_DATA) $$i $(tooldir)/man/man2/`basename $$i` ; \
 	done; \
+	$(SHELL) $(srcdir)/mkinstalldirs $(tooldir)/man/man3 ; \
 	for i in `find . -type f -name '*.3'`; do \
 	    $(INSTALL_DATA) $$i $(tooldir)/man/man3/`basename $$i` ; \
 	done; \
+	$(SHELL) $(srcdir)/mkinstalldirs $(tooldir)/man/man5 ; \
 	for i in `find . -type f -name '*.5'`; do \
 	    $(INSTALL_DATA) $$i $(tooldir)/man/man5/`basename $$i` ; \
 	done; \
+	$(SHELL) $(srcdir)/mkinstalldirs $(tooldir)/man/man7 ; \
 	for i in `find . -type f -name '*.7'`; do \
 	    $(INSTALL_DATA) $$i $(tooldir)/man/man7/`basename $$i` ; \
 	done
 


More information about the Cygwin-patches mailing list