-
Committer:
Tarmac
-
Author(s):
Benji York
-
Date:
2013-09-05 14:34:14 UTC
-
mfrom:
(348.4.4 makefile-tweaks-tests)
-
Revision ID:
tarmac-20130905143414-4yuo3wo5qny718ob
[r=bac][bug=][author=benji] Several tweaks to the Makefile:
- added a debugging tool at the top (normally commented out)
- removed some single-use and tiny constants in favor of less indirection
- added "canaries" to several rules so they are only run when needed
- wrapped long lines
- added a dependency on requirements.txt so that changes will trigger a
re-install of Python dependencies
- made a test script (bin/test) so we don't have to remember the
spelling to invoke the tests outside of the Makefile (preserving the
existing make targets for continuity, especially for CI)
- removed some unnecessary phoney entries
- added "install" as the default goal
- removed unneeded indirection in phoney definition
As a result of the above you can run just "make" in a new checkout and
everything will be built. If "make" is run again, no work will be
done. There is also now a bin/test script that is friendlier than
having to remember the spelling to invoke the test runner (directly or
through the Makefile, but that still works too).