]> arthur.barton.de Git - bup.git/commit
Don't have ./bup depend on main.py, etc.
authorRob Browning <rlb@defaultvalue.org>
Sat, 21 Mar 2015 19:40:48 +0000 (14:40 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 21 Mar 2015 20:23:30 +0000 (15:23 -0500)
commit16c55180df199ad68e8b98d63538c45ed2f1b3ed
treee5cfa9bc41dcfb457e2c9e7eb485567f4b8b7435
parent4376053aa2247cf358ec0f8ec0c6ffa16321d892
Don't have ./bup depend on main.py, etc.

Instead create bup_deps (which includes bup) and have everything that
needs a functional ./bup depend on that set of targets.

Previously bup would often be rebuilt unnecessarily (even if it didn't
depend on other phony targets) because it depended on _version.py and
main.py.  Since bup ends up symlinked to the latter, and make looks at
symlink target timestamps, and _version.py would often be newer than
main.py, ./bup would be repeatedly rebuilt.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
Makefile