delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/08/16:49:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Joost Kraaijeveld <J DOT Kraaijeveld AT Askesis DOT nl>
cc: cygwin AT cygwin DOT com
Subject: Re: make install does nothing
In-Reply-To: <A3D1526C98B7C1409A687E0943EAC41001574B@obelix.askesis.nl>
Message-ID: <Pine.GSO.4.56.0310081646370.15176@slinky.cs.nyu.edu>
References: <A3D1526C98B7C1409A687E0943EAC41001574B AT obelix DOT askesis DOT nl>
Importance: Normal
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019