[gjs] Fix distcheck



commit 48de406b1b040f24e99fa2d9d2f4aa4937395444
Author: Giovanni Campagna <gcampagna gnome org>
Date:   Tue Mar 4 17:54:12 2014 +0100

    Fix distcheck
    
    By removing a lot of generated files on make clean

 Makefile-insttest.am |    1 +
 Makefile-modules.am  |    1 +
 Makefile-test.am     |    5 +++++
 Makefile.am          |    2 ++
 4 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/Makefile-insttest.am b/Makefile-insttest.am
index ec760d4..b4f8d17 100644
--- a/Makefile-insttest.am
+++ b/Makefile-insttest.am
@@ -93,6 +93,7 @@ gjsinsttest_DATA += $(TEST_INTROSPECTION_GIRS:.gir=.typelib)
 else
 noinst_DATA += $(TEST_INTROSPECTION_GIRS:.gir=.typelib)
 endif
+CLEANFILES += $(TEST_INTROSPECTION_GIRS) $(TEST_INTROSPECTION_GIRS:.gir=.typelib)
 
 jstestsdir = $(gjsinsttestdir)/js
 dist_jstests_DATA =
diff --git a/Makefile-modules.am b/Makefile-modules.am
index 07860f4..ad7e548 100644
--- a/Makefile-modules.am
+++ b/Makefile-modules.am
@@ -23,6 +23,7 @@ modules-resources.c: $(srcdir)/modules/modules.gresource.xml $(modules_resource_
 EXTRA_DIST += $(modules_resource_files) $(srcdir)/modules/modules.gresource.xml
 
 nodist_libmodules_resources_la_SOURCES = modules-resources.c modules-resources.h
+CLEANFILES += $(nodist_libmodules_resources_la_SOURCES)
 libmodules_resources_la_CPPFLAGS = $(JS_NATIVE_MODULE_CFLAGS)
 libmodules_resources_la_LIBADD = $(JS_NATIVE_MODULE_LIBADD)
 
diff --git a/Makefile-test.am b/Makefile-test.am
index 1825bd5..b91840b 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -4,6 +4,11 @@ EXTRA_DIST += \
 
 RUN_WITH_DBUS = ${top_srcdir}/test/run-with-dbus --session --system
 GTESTER = ${TESTS_ENVIRONMENT} ${RUN_WITH_DBUS} gtester
+CLEANFILES += uninstalled-system-test-bus.conf uninstalled-test-bus.conf
+clean-local: test-user-data-clean
+
+test-user-data-clean:
+       -rm -fr $(builddir)/test_user_data
 
 ########################################################################
 TEST_PROGS += gjs-tests
diff --git a/Makefile.am b/Makefile.am
index 6b6bc54..e1fc388 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -205,6 +205,8 @@ include Makefile-examples.am
 typelibdir = $(pkglibdir)/girepository-1.0
 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 
+CLEANFILES += $(INTROSPECTION_GIRS) $(typelib_DATA)
+
 ########################################################################
 bin_PROGRAMS += gjs-console
 


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