[kdbus] Do not set body message if signature field is empty
[platform/upstream/glib.git] / glib.mk
diff --git a/glib.mk b/glib.mk
index cbae1f4..09aae0e 100644 (file)
--- a/glib.mk
+++ b/glib.mk
@@ -59,9 +59,9 @@ genlcov:
        @echo "file://$(abs_top_builddir)/glib-lcov/index.html"
 
 lcov-clean:
-       $(AM_V_GEN) $(LTP) --quiet --directory $(top_builddir) -z; \
-         rm -rf glib-lcov.info glib-lcov; \
-         find -name '*.gcda' -print | xargs rm
+       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