cvs: php-src(PHP_5_2) / Makefile.gcov

From: Date: Sun, 10 Sep 2006 12:37:44 +0000
Subject: cvs: php-src(PHP_5_2) / Makefile.gcov
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-40436@lists.php.net to get a copy of this message
nlopess Sun Sep 10 12:37:44 2006 UTC Modified files: (Branch: PHP_5_2) /php-src Makefile.gcov Log: fix lcov processing with gcc 4.1 (some .h files were not copied) http://cvs.php.net/viewvc.cgi/php-src/Makefile.gcov?r1=1.4.2.10.2.1&r2=1.4.2.10.2.2&diff_format=u Index: php-src/Makefile.gcov diff -u php-src/Makefile.gcov:1.4.2.10.2.1 php-src/Makefile.gcov:1.4.2.10.2.2 --- php-src/Makefile.gcov:1.4.2.10.2.1 Fri Jun 9 23:47:10 2006 +++ php-src/Makefile.gcov Sun Sep 10 12:37:44 2006 @@ -29,7 +29,7 @@ @rm -rf lcov_data/ @$(mkinstalldirs) lcov_data/ @echo - -@find . -name \*.gcda -o -name \*.gcno -o -name \*.da | sed -e 's/^\.\///' | sed -e 's/\.gcda//g' -e 's/\.gcno//g' -e 's/\.da//g' | uniq | while read x; do \ + -@find . -name \*.gcda -o -name \*.gcno -o -name \*.da -o -name \*.h | sed -e 's/^\.\///' | sed -e 's/\.gcda//g' -e 's/\.gcno//g' -e 's/\.da//g' | uniq | while read x; do \ echo -n . ;\ y=echo $$x | sed -e 's!\.libs/!!'; \ dir=lcov_data/dirname $$x; \ @@ -49,6 +49,9 @@ if test -f "$(top_srcdir)/$$y.l"; then \ ln -f -s $(top_srcdir)/$$y.l lcov_data/$$y.l; \ fi; \ + if test -f "$(top_srcdir)/$$y"; then \ + ln -f -s $(top_srcdir)/$$y lcov_data/$$y; \ + fi; \ if test -f "$(top_builddir)/$$y.c"; then \ ln -f -s $(top_builddir)/$$y.c lcov_data/$$y.c; \ fi; \

« previous php.cvs (#40436) next »