[folks] Distribute sources for generated files.
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Distribute sources for generated files.
- Date: Wed, 12 Jan 2011 19:51:52 +0000 (UTC)
commit 18c884702b57279866c51922861c77878b8b415c
Author: Travis Reitter <travis reitter collabora co uk>
Date: Tue Jan 11 17:26:01 2011 -0800
Distribute sources for generated files.
This un-breaks distcheck by ensuring the generated files don't stick around in
_build after the final distclean.
This fulfills the requirements laid out in the Automake manual page:
http://www.gnu.org/software/hello/manual/automake/distcleancheck.html
backends/telepathy/lib/Makefile.am | 4 +++-
tests/lib/telepathy/contactlist/Makefile.am | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/backends/telepathy/lib/Makefile.am b/backends/telepathy/lib/Makefile.am
index 61720e8..9c93fd2 100644
--- a/backends/telepathy/lib/Makefile.am
+++ b/backends/telepathy/lib/Makefile.am
@@ -58,7 +58,8 @@ INTROSPECTION_SCANNER_ARGS = \
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
CLEANFILES =
-tp-lowlevel.gir: libtp-lowlevel.la
+tp-lowlevel.gir: $(libtp_lowlevel_la_SOURCES) $(tp_lowlevel_headers)
+ $(MAKE) $(AM_MAKEFLAGS) libtp-lowlevel.la
tp_lowlevel_gir_INCLUDES = GObject-2.0 TelepathyGLib-0.12
tp_lowlevel_gir_CFLAGS = $(TP_GLIB_CFLAGS)
tp_lowlevel_gir_LIBS = libtp-lowlevel.la
@@ -69,6 +70,7 @@ INTROSPECTION_GIRS += tp-lowlevel.gir
CLEANFILES += $(gir_DATA) $(typelib_DATA)
tp-lowlevel.vapi: tp-lowlevel.gir
+ $(MAKE) $(AM_MAKEFLAGS) tp-lowlevel.gir
$(AM_V_GEN)$(VAPIGEN) $(VAPIGENFLAGS) \
--library tp-lowlevel \
--pkg gio-2.0 \
diff --git a/tests/lib/telepathy/contactlist/Makefile.am b/tests/lib/telepathy/contactlist/Makefile.am
index c2221a3..169bec5 100644
--- a/tests/lib/telepathy/contactlist/Makefile.am
+++ b/tests/lib/telepathy/contactlist/Makefile.am
@@ -55,7 +55,8 @@ INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
-tp-test-contactlist.gir: libtp-test-contactlist.la
+tp-test-contactlist.gir: $(libtp_test_contactlist_la_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) libtp-test-contactlist.la
tp_test_contactlist_gir_INCLUDES = GObject-2.0 TelepathyGLib-0.12
tp_test_contactlist_gir_CFLAGS = $(TP_GLIB_CFLAGS)
tp_test_contactlist_gir_LIBS = libtp-test-contactlist.la
@@ -64,6 +65,7 @@ tp_test_contactlist_gir_NAMESPACE = TpTest
INTROSPECTION_GIRS += tp-test-contactlist.gir
tp-test-contactlist.vapi: tp-test-contactlist.gir
+ $(MAKE) $(AM_MAKEFLAGS) tp-test-contactlist.gir
$(AM_V_GEN)$(VAPIGEN) $(VAPIGENFLAGS) --library tp-test-contactlist \
tp-test-contactlist.gir
touch $@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]