From 069c6ff091b50752dece7f188e346dc7782a0b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Sun, 25 Sep 2016 12:48:32 +0200 Subject: [PATCH] Fix check-coverage target (CFLAGS+LDFLAGS not set properly) Reported-by: https://github.com/darnir --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index f66032d..f0cc385 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,6 +26,7 @@ clean-local: check-coverage: $(MAKE) clean lcov --no-external --capture --initial --directory . --output-file libpsl.info - CFLAGS=$CFLAGS" --coverage" LDFLAGS=$LDFLAGS" --coverage" $(MAKE) check + CFLAGS=$$CFLAGS" --coverage" LDFLAGS=$$LDFLAGS" --coverage" ./configure && $(MAKE) check lcov --no-external --capture --directory . --output-file libpsl.info +# lcov --remove libpsl.info 'tests/*.c' 'src/lookup_*' 'src/psl2c.c' -o libpsl.info genhtml --prefix . --ignore-errors source libpsl.info --legend --title "libpsl" --output-directory=lcov