Skip to content
Browse files

Avoid gcov conflicts on non-unique filenames

  • Loading branch information...
1 parent 55a2990 commit 6abf54a4895fb89b5d1f26ecc9c219ee3ea3d371 Ilia Alshanetsky committed Dec 5, 2005
Showing with 5 additions and 5 deletions.
  1. +5 −5 Makefile.gcov
View
10 Makefile.gcov
@@ -49,11 +49,11 @@ php_lcov.info: lcov-test
if test -f "$(top_builddir)/$$y.c"; then \
ln -f -s $(top_builddir)/$$y.c lcov_data/$$y.c; \
fi; \
- test -f "$$x.gcno" && cp $$x.gcno lcov_data/ ; \
- test -f "$$x.gcda" && cp $$x.gcda lcov_data/ ; \
- test -f "$$x.da" && cp $$x.da lcov_data/ ; \
- test -f "$$x.bb" && cp $$x.bb lcov_data/ ; \
- test -f "$$x.bbg" && cp $$x.bbg lcov_data/ ; \
+ test -f "$$x.gcno" && cp $$x.gcno lcov_data/$$y.gcno ; \
+ test -f "$$x.gcda" && cp $$x.gcda lcov_data/$$y.gcda ; \
+ test -f "$$x.da" && cp $$x.da lcov_data/$$y.da ; \
+ test -f "$$x.bb" && cp $$x.bb lcov_data/$$y.bb ; \
+ test -f "$$x.bbg" && cp $$x.bbg lcov_data/$$y.bbg ; \
done
@echo
@echo "Generating $@"

0 comments on commit 6abf54a

Please sign in to comment.
Something went wrong with that request. Please try again.