From a4d049e5e7e04a2232beda26626c5a860c0e218f Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 9 Feb 2012 01:08:54 +0100 Subject: [PATCH 1/3] replace += --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fe70487..2a82948 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ doc: clean $(QUIET)doxygen Doxyfile gcov: clean - $(QUIET)CFLAGS+="-fprofile-arcs -ftest-coverage" LDFLAGS+="-fprofile-arcs" $(MAKE) $(PROJECT) + $(QUIET)CFLAGS="${CFLAGS}-fprofile-arcs -ftest-coverage" LDFLAGS="${LDFLAGS} -fprofile-arcs" $(MAKE) $(PROJECT) $(QUIET)make -C tests $(QUIET)lcov --directory . --capture --output-file $(PROJECT).info $(QUIET)genhtml --output-directory gcov $(PROJECT).info From 377ceafd63fd9d0d6105b4691a829b73886b42df Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 9 Feb 2012 01:13:40 +0100 Subject: [PATCH 2/3] Call make via ${MAKE} --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2a82948..48949a2 100644 --- a/Makefile +++ b/Makefile @@ -88,8 +88,8 @@ doc: clean $(QUIET)doxygen Doxyfile gcov: clean - $(QUIET)CFLAGS="${CFLAGS}-fprofile-arcs -ftest-coverage" LDFLAGS="${LDFLAGS} -fprofile-arcs" $(MAKE) $(PROJECT) - $(QUIET)make -C tests + $(QUIET)CFLAGS="${CFLAGS}-fprofile-arcs -ftest-coverage" LDFLAGS="${LDFLAGS} -fprofile-arcs" ${MAKE} $(PROJECT) + $(QUIET)${MAKE} -C tests $(QUIET)lcov --directory . --capture --output-file $(PROJECT).info $(QUIET)genhtml --output-directory gcov $(PROJECT).info From 0deb888f716136b613a2fbeabe855823a6c5dfd8 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 9 Feb 2012 01:16:05 +0100 Subject: [PATCH 3/3] update .gitignore --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index ca38e6a..cf9af95 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,7 @@ zathura zathura-debug zathura.pc +*.info +*.gcno +*.gcda +gcov/