Closed Bug 885906 Opened 13 years ago Closed 13 years ago

Remove .sh and .pl catch anything implicit rules

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla25

People

(Reporter: gps, Assigned: gps)

Details

(Whiteboard: [buildfaster:5])

Attachments

(1 file)

I was playing with |make -dr| and noticed we have a few catch anything implicit rules in rules.mk: %:: %.pl $(RM) $@ cp $< $@ chmod +x $@ %:: %.sh $(RM) $@ cp $< $@ chmod +x $@ It appears the origins of these lines are from the initial CVS commit. They were touched in bug 480069 and on an earlier commit in 2000 which dealt with OS/2 compatibility. I'm fairly certain we can delete these rules without consequence (famous last words). This is similar to bug 418593, but more tightly scoped.
(In reply to Gregory Szorc [:gps] from comment #0) > I'm fairly certain we can delete these rules without consequence (famous > last words). r=me!
Giving to bsmedberg since this is from the CVS days :) Try at https://tbpl.mozilla.org/?tree=Try&rev=a9bafffe58eb
Attachment #766125 - Flags: review?(benjamin)
Assignee: nobody → gps
Comment on attachment 766125 [details] [diff] [review] Remove .sh and .pl catch anything implicit rules khuey seemed to review patch. I'll have to scheme another way to get bsmedberg to review a build patch...
Attachment #766125 - Flags: review?(benjamin) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/9f16505fc85e Not sure if this will actually make the build faster. But it certainly won't hurt.
Status: NEW → ASSIGNED
Whiteboard: [buildfaster:5]
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: