This is the mail archive of the cygwin-patches 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] utils/path.cc fixes and testsuite


On Sun, Mar 09, 2008 at 12:55:13AM -0800, Brian Dessent wrote:
>Corinna Vinschen wrote:
>
>> Doesn't that install testsuite.exe at `make install' time?
>
>Ack, how about the attached?
>
>Brian
>2008-03-09  Brian Dessent  <brian@dessent.net>
>
>	* Makefile.in (install): Don't install the testsuite.
>
>Index: Makefile.in
>===================================================================
>RCS file: /cvs/src/src/winsup/utils/Makefile.in,v
>retrieving revision 1.70
>diff -u -p -r1.70 Makefile.in
>--- Makefile.in	9 Mar 2008 04:10:10 -0000	1.70
>+++ Makefile.in	9 Mar 2008 08:52:06 -0000
>@@ -157,7 +157,7 @@ realclean: clean
> 
> install: all
> 	$(SHELL) $(updir1)/mkinstalldirs $(bindir)
>-	for i in $(CYGWIN_BINS) $(MINGW_BINS) ; do \
>+	for i in $(CYGWIN_BINS) ${filter-out testsuite.exe,$(MINGW_BINS)} ; do \
> 	  n=`echo $$i | sed '$(program_transform_name)'`; \
> 	  $(INSTALL_PROGRAM) $$i $(bindir)/$$n; \
> 	done

Out of curiousity, does anyone know if program_transform_name ever gets
set to anything for cygwin?  If not, this loop could be made into a make
construct.

I suspect that it probably is used to translate cygcheck.exe ->
i686-pc-cygwin-cygcheck, even though that would be worthless.

You probably could get rid of it even if it did get set but it would be
trickier.

cgf


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