Closed Bug 755828 Opened 8 years ago Closed 8 years ago

pymake should copy gmake behavior of not rebuilding targets with no commands, even if they're out of date

Categories

(Firefox Build System :: General, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla15

People

(Reporter: khuey, Assigned: khuey)

References

Details

Attachments

(1 file)

Given:

all: obj

obj: header
	touch obj

header: cpp

cpp:
	touch header
	touch cpp

On the second pass pymake will decide that header is out of date, and rebuild it.  It will then rebuild obj because header was rebuilt, even though header did not change.  Gmake will decide that rebuilding header serves no purpose since it has no rule, and skip it.  It will then not rebuild obj.
Attached patch PatchSplinter Review
Attachment #624466 - Flags: review?(ted.mielczarek)
Attachment #624466 - Flags: review?(ted.mielczarek) → review+
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.