Issue 66083

Summary: Error out on AUGMAKE meta and normal targets in the same definition
Product: Build Tools Reporter: quetschke
Component: dmakeAssignee: hjs <hans-joachim.lankenau>
Status: CLOSED FIXED QA Contact: issues@tools <issues>
Severity: Trivial    
Priority: P3 CC: hans-joachim.lankenau, issues
Version: current   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Patch for dmake none

Description quetschke 2006-06-04 03:14:24 UTC
The following testcase works, but should at least issue a warning as
.<suffix> targets are meta targets with a "different" prerequisite
definition. For example:

-- test.mk --
SHELL*:=/bin/sh 
SHELLFLAGS*:=-ce

.NIX aaa : ; +echo "Normal and meta target together"

something.NIX :
	+echo "A target."
-- test.mk --

$ dmake/dmake.exe -rf test.mk something
echo "A target."
A target.
echo "Normal and meta target together"
Normal and meta target together
Comment 1 quetschke 2006-06-13 06:25:25 UTC
Created attachment 37101 [details]
Patch for dmake
Comment 2 quetschke 2006-06-13 16:08:08 UTC
IMHO mixing AUGMAKE meta and normal targets warrants an error and not a warning
as prerequisites are treated differently. Committed previous patch and a testcase.

Reassigning for verification.
Comment 3 quetschke 2006-06-13 16:08:39 UTC
@ause: Please verify.
Comment 4 hjs 2006-06-27 10:42:04 UTC
errors out as expected
Comment 5 hjs 2006-07-07 15:39:41 UTC
.