- @-cp dali-adaptor/.libs/*.gcda dali-adaptor/.libs/*.gcno $(COVERAGE_DIR)
- @for i in `find $(COVERAGE_DIR) -name "libdali_adaptor_la-*.gcda" -o -name "libdali_adaptor_la-*.gcno"` ;\
- do mv $$i `echo $$i | sed s/libdali_adaptor_la-//` ; echo $$i ; done
- @-cp common/.libs/*.gcda common/.libs/*.gcno $(COVERAGE_DIR)
- @for i in `find $(COVERAGE_DIR) -name "libdali_adaptor_common_la-*.gcda" -o -name "libdali_adaptor_common_la-*.gcno"` ;\
- do mv $$i `echo $$i | sed s/libdali_adaptor_common_la-//` ; echo $$i ; done
- @cd $(COVERAGE_DIR) ; lcov --base-directory . --directory . -c -o dali.info
- @cd $(COVERAGE_DIR) ; lcov --remove dali.info "*boost*" "dali-env/*" "/usr/include/*" -o dali.info
+ @-cp adaptor/.libs/*.gcda adaptor/.libs/*.gcno $(COVERAGE_DIR)
+ @for i in `find $(COVERAGE_DIR) -name "libdali_adaptor*_la-*.gcda" -o -name "libdali_adaptor*_la-*.gcno"` ;\
+ do mv $$i `echo $$i | sed s/libdali_adaptor*_la-//` ; echo $$i ; done
+
+cov_data: rename_cov_data
+ @cd $(COVERAGE_DIR) ; lcov $(LCOV_OPTS) --base-directory . --directory . -c -o dali.info
+ @cd $(COVERAGE_DIR) ; lcov $(LCOV_OPTS) --remove dali.info "*/dali-env/*" "/usr/include/*" -o dali.info