summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@gnome.org>2014-03-04 17:54:12 +0100
committerGiovanni Campagna <gcampagna@gnome.org>2014-03-04 17:54:12 +0100
commit48de406b1b040f24e99fa2d9d2f4aa4937395444 (patch)
treeee566040862909d05383aac0be73a27359b9fb28
parent66eada56e4f9273a1c474560693ff4f55765fc3d (diff)
downloadgjs-48de406b1b040f24e99fa2d9d2f4aa4937395444.tar.gz
Fix distcheck
By removing a lot of generated files on make clean
-rw-r--r--Makefile-insttest.am1
-rw-r--r--Makefile-modules.am1
-rw-r--r--Makefile-test.am5
-rw-r--r--Makefile.am2
4 files changed, 9 insertions, 0 deletions
diff --git a/Makefile-insttest.am b/Makefile-insttest.am
index ec760d41..b4f8d17f 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 07860f47..ad7e548f 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 1825bd51..b91840b4 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 6b6bc542..e1fc3886 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