This is the mail archive of the cygwin@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: make install does nothing


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


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