[telepathy-glib/master] Add simple flymake support.

Jonny Lamb jonny.lamb at collabora.co.uk
Thu Jun 4 10:28:27 PDT 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 telepathy-glib/Makefile.am |    1 +
 tools/flymake.mk           |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)
 create mode 100644 tools/flymake.mk

diff --git a/telepathy-glib/Makefile.am b/telepathy-glib/Makefile.am
index b1b39f7..a1b5147 100644
--- a/telepathy-glib/Makefile.am
+++ b/telepathy-glib/Makefile.am
@@ -1,4 +1,5 @@
 include $(top_srcdir)/tools/shave.mk
+include $(top_srcdir)/tools/flymake.mk
 
 tpgincludedir=$(includedir)/telepathy-1.0/telepathy-glib
 genincludedir=$(tpgincludedir)/_gen
diff --git a/tools/flymake.mk b/tools/flymake.mk
new file mode 100644
index 0000000..020a7bf
--- /dev/null
+++ b/tools/flymake.mk
@@ -0,0 +1,4 @@
+check-syntax:
+	$(CC) $(AM_CPPFLAGS) $(AM_CFLAGS) -fsyntax-only $(CHK_SOURCES)
+
+.PHONY: check-syntax
-- 
1.5.6.5



More information about the telepathy-commits mailing list