Re: slrn on Cygwin makefile bug

Christian Ebert <[email protected]>
Newsgroups gmane.network.slrn.user
Organization Black Trash Productions <http://www.blacktrash.org/>
Message-ID <[email protected]>
* Brian Salter-Duke on Tuesday, August 26, 2008 at 15:25:25 +1000
> On Tue, Aug 26, 2008 at 12:00:58AM -0400, Rudy Taraschi wrote:
>> Brian Salter-Duke <[email protected]> wrote:
>>> It works for me except for one small problem. On cygwin, "INSTALL' and
>>> "install" are the same. You have to mv INSTALL to INSTALL.txt to make
>>> "make install" work and not say it is up to date. That file should be
>>> renamed in the release.

For future releases it has been fixed in svn:

$ svn log -vr 293
------------------------------------------------------------------------
r293 | jedsoft | 2008-08-19 17:10:27 +0200 (Tue, 19 Aug 2008) | 2 lines
Changed paths:
   D /trunk/INSTALL
   A /trunk/INSTALL.txt (from /trunk/INSTALL:291)
   M /trunk/README

Renamed INSTALL to INSTALL.txt

------------------------------------------------------------------------

>> The problem you mention is common to pretty much every Cygwin package
>> that's built from source;

The prob appears on other case-insensitive file systems too.

>> a file named INSTALL, like README, is
>> standard in many source tarballs.  While your solution works
>> perfectly, it's not the "right" solution.  I get around the problem to
>> same way you do BTW.
> 
> What is the right solution?

Another solution is to put a .PHONY: install directive in the
Makefile, or, as for slrn the Makefile is generated, in
autoconf/Makefile.in.

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]

_F R E E_  _V I D E O S_  -->>  http://www.blacktrash.org/underdogma/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.