build: fix 'make distclean'

Don't run a non-existent lcov command to clean up during 'make distclean'
This commit is contained in:
Ryan Lortie 2014-01-13 16:41:31 -05:00
parent 4130118a72
commit 028856a99f

View File

@ -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