delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/15/11:38:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <38A98492.73391F93@WorkTechnologies.com>
Date: Tue, 15 Feb 2000 09:53:38 -0700
From: Ben Groeneveld <BenG AT WorkTechnologies DOT com>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: B20.1: VPATH in makefiles fails timestamp comparison for generic rules

Description: with VPATH generic rules are not fired when dependents are
newer than targets.

Reproduction: To reproduce this bug use the following Makefile:
--
VPATH=..

%.target : %.source ; cp $< ../$@

showVPATHbug.target: showVPATHbug.source
--
Make the target, then touch the source.  Another make fails to update
the target.  Note that if the generic rule is replaced with the
following specific rule, then the bug goes away:
--
VPATH=..

showVPATHbug.target: showVPATHbug.source
	cp $< ../$@
--
I have also noticed that with GPATH the target is always rebuilt. 
Please let me know if there is a workaround for this.  Thanks for the
otherwise great CygWin software,
-- 
Ben Groeneveld 
@Work Technologies, Inc., 775 Lindsay Blvd., Idaho Falls, ID 83402
Mailto:BenG AT WorkTechnologies DOT com, phone:208.529.2640, fax:208.522.4202

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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