From 028856a99fd8ce7dc6a1318a6b57cdbbefbc6bdc Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 13 Jan 2014 16:41:31 -0500 Subject: [PATCH] build: fix 'make distclean' Don't run a non-existent lcov command to clean up during 'make distclean' --- glib.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/glib.mk b/glib.mk index 00f2e42..09aae0e 100644 --- a/glib.mk +++ b/glib.mk @@ -59,7 +59,9 @@ genlcov: @echo "file://$(abs_top_builddir)/glib-lcov/index.html" lcov-clean: - $(AM_V_GEN) $(LTP) --quiet --directory $(top_builddir) -z + if test -n "$(LTP)"; then \ + $(LTP) --quiet --directory $(top_builddir) -z; \ + fi # run tests in cwd as part of make check check-local: test-nonrecursive -- 2.7.4