Makefile: Include subdirectories in "make cover" reports
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 25 Jul 2010 19:52:40 +0000 (19:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Aug 2010 19:42:18 +0000 (12:42 -0700)
commitbc548efe0037839e1a4a611e5f0f24b33fc39dc5
tree2d5ebbc9fbf50831b7fcbec3cb6febad66af3f9e
parent3f5e042b9cfdbb972a3ddcabe3b13e5350231751
Makefile: Include subdirectories in "make cover" reports

We generate profiling files in all the $(OBJECTS) dirs. Aggregate
results from there, and add them to the corresponding clean target.

Also expand the gcov arguments. Generate reports for things like "x()
|| y()" using --all-blocks, and add --preserve-paths since we're
profiling in subdirectories now.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile