[Telepathy-commits] [telepathy-gabble/master] Adapt check-coding-style hook
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Aug 19 10:52:13 PDT 2008
20080507160536-53eee-2cc37e3a34fda74d3e319a4f6206f807d3e1c550.gz
---
src/Makefile.am | 1 +
tests/Makefile.am | 1 +
tests/twisted/Makefile.am | 4 +++-
tools/check-coding-style.mk | 2 +-
4 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 921e2c9..84f689e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -128,6 +128,7 @@ check_c_sources = \
$(telepathy_gabble_SOURCES) \
$(write_mgr_file_SOURCES)
include $(top_srcdir)/tools/check-coding-style.mk
+check-local: check-coding-style
telepathy_gabble_LDADD = libgabble-convenience.la $(ALL_LIBS)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index a8c1475..a7356a4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -64,3 +64,4 @@ check_c_sources = \
test-parse-message.c
include $(top_srcdir)/tools/check-coding-style.mk
+check-local: check-coding-style
diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index a52b0a1..a424f30 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -54,7 +54,9 @@ TESTS =
TESTS_ENVIRONMENT = \
PYTHONPATH=@abs_top_srcdir@/tests/twisted
-check-local: check-coding-style
+check-local: check-coding-style check-twisted
+
+check-twisted:
$(MAKE) -C tools
rm -f tools/core
sh $(srcdir)/tools/with-session-bus.sh --config-file=tools/tmp-session-bus.conf -- $(MAKE) check-TESTS \
diff --git a/tools/check-coding-style.mk b/tools/check-coding-style.mk
index 1499f2f..3fc92fc 100644
--- a/tools/check-coding-style.mk
+++ b/tools/check-coding-style.mk
@@ -1,4 +1,4 @@
-check-local::
+check-coding-style:
@fail=0; \
if test -n "$(check_misc_sources)"; then \
tools_dir=$(top_srcdir)/tools \
--
1.5.6.3
More information about the Telepathy-commits
mailing list