From fa757b7f28c0f65f45d13e751aad1497e646956e Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Thu, 11 Aug 2011 12:01:15 -0700 Subject: [PATCH] Makefile.am: install coverage files for libtool outputs as well Signed-off-by: Josh Durgin --- src/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index adabefbdd380..d3fefbc8599c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1356,17 +1356,21 @@ endif if ENABLE_COVERAGE COV_DIR = $(DESTDIR)$(libdir)/ceph/coverage COV_FILES = $(srcdir)/*.gcno +COV_LIB_FILES = $(srcdir)/.libs/*.gcno endif install-coverage: if ENABLE_COVERAGE - -mkdir -p $(COV_DIR) + -mkdir -p $(COV_DIR)/.libs -$(INSTALL_DATA) $(COV_FILES) $(COV_DIR) + -$(INSTALL_DATA) $(COV_LIB_FILES) $(COV_DIR)/.libs endif uninstall-coverage: if ENABLE_COVERAGE -rm $(COV_DIR)/*.gcno + -rm $(COV_DIR)/.libs/*.gcno + -rmdir -p $(COV_DIR)/.libs -rmdir -p $(COV_DIR) endif -- 2.47.3