[gjs: 2/3] build: Clean up all installed-tests metadata



commit a5d4ad5bbd63c953a5de90d605fbe7475e1098b8
Author: Simon McVittie <smcv debian org>
Date:   Mon Aug 13 23:47:28 2018 +0100

    build: Clean up all installed-tests metadata
    
    Otherwise running
    make distcheck DISTCHECK_CONFIGURE_FLAGS=--enable-installed-tests
    fails because installed-tests/debugger/*.test are still in present
    in the $(builddir) after distclean.
    
    These files are created by 'make', so they should be deleted by
    'make clean', not by 'make distclean'.
    
    Signed-off-by: Simon McVittie <smcv debian org>

 Makefile-insttest.am | 2 ++
 Makefile.am          | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/Makefile-insttest.am b/Makefile-insttest.am
index d7a8736f..6aa24323 100644
--- a/Makefile-insttest.am
+++ b/Makefile-insttest.am
@@ -56,4 +56,6 @@ pkglib_LTLIBRARIES += libregress.la libwarnlib.la libgimarshallingtests.la
                < $(srcdir)/installed-tests/script.test.in > $@.tmp && \
        mv $@.tmp $@
 
+CLEANFILES += $(installedtestmeta_DATA)
+
 endif BUILDOPT_INSTALL_TESTS
diff --git a/Makefile.am b/Makefile.am
index 7b5d53ac..2ef69a31 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -201,7 +201,7 @@ EXTRA_DIST +=                                       \
 TAG_PREFIX=GJS_
 COMPRESSION=.bz2
 
-DISTCLEANFILES=gjs-*.syscap installed-tests/scripts/*.test installed-tests/js/*.test
+DISTCLEANFILES=gjs-*.syscap
 
 PACKAGE=@PACKAGE@
 VERSION=@VERSION@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]