Merge lp:~edwin-grubbs/launchpad/bug-524492-spriteutil-make-dependency into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Edwin Grubbs on 2010-03-05 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | not available |
| Proposed branch: | lp:~edwin-grubbs/launchpad/bug-524492-spriteutil-make-dependency |
| Merge into: | lp:launchpad |
| Diff against target: |
98 lines (+26/-10) 2 files modified
Makefile (+24/-8) buildout.cfg (+2/-2) |
| To merge this branch: | bzr merge lp:~edwin-grubbs/launchpad/bug-524492-spriteutil-make-dependency |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Paul Hummer (community) | code | 2010-03-05 | Approve on 2010-03-05 |
|
Review via email:
|
|||
Commit Message
Add rule so that the Makefile will automatically build bin/sprite-util if it does not exist.
Description of the Change
The purpose of this branch is to automatically build bin/sprite-util if necessary. This problem was reported because a branch that has already buildout run will not know to re-run buildout after trunk has been merged into it. Since this problem is unlikely to occur again for sprite-util, I tried to make this solution generally applicable to bin scripts, so whoever adds the next bin script just has to add it to the BUILDOUT_BIN variable and to the dependency list for any new targets that use it.
This branch adds a rule to the Makefile to build any of the bin/ files using buildout (except for buildout itself, which is built with bootstrap).
Test
----
* make bin/py
* This will run buildout if bin/py does not exist.
* make css_combine
* This should run bin/sprite-util and bin/combine_css but not buildout.
* rm bin/sprite-util
* make css_combine
* This should run buildout, bin/sprite-util, and then bin/combine_css.
