]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Makefile.am: install coverage files for libtool outputs as well
authorJosh Durgin <josh.durgin@dreamhost.com>
Thu, 11 Aug 2011 19:01:15 +0000 (12:01 -0700)
committerJosh Durgin <josh.durgin@dreamhost.com>
Fri, 26 Aug 2011 20:06:41 +0000 (13:06 -0700)
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
src/Makefile.am

index adabefbdd3802ea05080b1ab0d08e7d36f3ecdc0..d3fefbc8599c5ecbb9206262af67e0521180f63f 100644 (file)
@@ -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