Article View: comp.unix.admin
Article #4407Re: install rule not working
From: Paul D. Smith
Date: Sat, 05 May 2001 19:19
Date: Sat, 05 May 2001 19:19
34 lines
2421 bytes
2421 bytes
%% Eli Zaretskii <eliz@is.elta.co.il> writes:
ez> Wade Williams wrote:
>> Unfortunately, it's a filesystem issue too. This OS X installation is
>> installed on HFS+, which is case insenstive, so the INSTALL file was
>> what was causing the conflict.
ez> Yes, a known problem with case-insensitive filesystems (DOS,
ez> Windows, etc.).
You can add a .PHONY target, like this:
.PHONY: install
Now, if you use GNU make, that rule will be run whether or not a file
"install" exists. All autoconf-generated makefiles do this
automatically.
If you can't use GNU make, you can use a FORCE rule, like this:
install: FORCE
....
FORCE: ;
Of course, this fails to work if you have a file named "FORCE" (or
"force", I guess, on case-insensitive filesystems).
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@gnu.org> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
Technical Details
Message-ID:
<p5bsp7ioxe.fsf@lemming.engeast.baynetworks.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!portc03.blue.aol.com!news.chicago1.Level3.net!Level3.net!news.corpeast.baynetworks.com!not-for-mailReferences:
<040520011129514475%wadesworld@mac.com> <3AF2DEBE.265CFB06@is.elta.co.il> <040520011233524908%wadesworld@mac.com> <3AF38924.D8275F34@is.elta.co.il>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109f73,e2ae59b8b812cc08 X-Google-Attributes: gid109f73,public X-Google-Thread: 1020c6,e2ae59b8b812cc08 X-Google-Attributes: gid1020c6,public X-Google-ArrivalTime: 2001-05-05 12:24:07 PST Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!portc03.blue.aol.com!news.chicago1.Level3.net!Level3.net!news.corpeast.baynetworks.com!not-for-mail From: "Paul D. Smith" <psmith@gnu.org> Newsgroups: comp.unix.admin,gnu.utils.help Subject: Re: install rule not working Date: 05 May 2001 15:19:41 -0400 Organization: GNU's Not Unix! Lines: 34 Message-ID: <p5bsp7ioxe.fsf@lemming.engeast.baynetworks.com> References: <040520011129514475%wadesworld@mac.com> <3AF2DEBE.265CFB06@is.elta.co.il> <040520011233524908%wadesworld@mac.com> <3AF38924.D8275F34@is.elta.co.il> Reply-To: psmith@gnu.org NNTP-Posting-Host: lemming.engeast.baynetworks.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: spinner.corpeast.baynetworks.com 989090382 24348 192.32.150.127 (5 May 2001 19:19:42 GMT) X-Complaints-To: usenet@spinner.corpeast.baynetworks.com NNTP-Posting-Date: 5 May 2001 19:19:42 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7