This is the mail archive of the cygwin@sourceware.cygnus.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]

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@WorkTechnologies.com, phone:208.529.2640, fax:208.522.4202

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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