This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch for winsup/cygwin/Makefile.in


Right you are - I forgot I copied the script.

Sorry about that :|

rlc

On Wed, Jul 23, 2003 at 05:01:00PM -0700, David Rothenberger wrote:
> Ronald Landheer-Cieslak writes:
>  > 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
> 
> 
> The supplier patch didn't work for me, because it assumed
> mkinstalldirs was in src/winsup/cygwin instead of src.  The
> following patch (against current CVS) works for me.
> 
> Dave
> 
> --
> 
> diff -u -r1.127 Makefile.in
> --- Makefile.in 7 Jul 2003 05:30:33 -0000       1.127
> +++ Makefile.in 24 Jul 2003 00:00:12 -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 ; \
> @@ -276,15 +277,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

-- 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]