Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 8 Oct 2003 16:49:12 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Joost Kraaijeveld cc: cygwin AT cygwin DOT com Subject: Re: make install does nothing In-Reply-To: Message-ID: References: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 8 Oct 2003, Joost Kraaijeveld wrote: > I have this makefile with the following target (the maMakefile is from > MICO 2.3.10): > > ... > install: > for i in $(INSTALLDIRS); do $(MAKE) -C $$i install || exit 1; > done > if test -f doc/doc.ps; then \ > $(IDIRCMD) $(SHARED_INSTDIR)/doc/mico; \ > $(IMANCMD) doc/doc.ps > $(SHARED_INSTDIR)/doc/mico/manual.ps; \ > fi > -ldconfig > ... > > If I do "make install", make responds with "make: 'install' is up to > date. If I rename the target to "install1" it works as expected. Am I > missing something and is this behaviour by design? > > Joost Kraaijeveld Do you have a directory or a file called "install" or "INSTALL"? If so, make thinks that that's the target you need to make, and reports it as up-to-date. You can do one of two things: change the Makefile to add a ".PHONY: install" (a good thing to do in any case), or add "check_case:strict" to your CYGWIN environment variable (won't work if "install" is an actual file/directory). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/