[empathy] Add simple flymake support.
- From: Jonny Lamb <jonnylamb src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] Add simple flymake support.
- Date: Fri, 5 Jun 2009 07:38:40 -0400 (EDT)
commit 3d1f8a776ca187ee211cdd2361b0aab79def6834
Author: Jonny Lamb <jonny lamb collabora co uk>
Date: Thu Jun 4 22:04:30 2009 +0100
Add simple flymake support.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
---
libempathy-gtk/Makefile.am | 1 +
libempathy/Makefile.am | 1 +
src/Makefile.am | 1 +
tools/Makefile.am | 1 +
tools/flymake.mk | 4 ++++
5 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am
index 4fd0fa5..80c9a79 100644
--- a/libempathy-gtk/Makefile.am
+++ b/libempathy-gtk/Makefile.am
@@ -1,4 +1,5 @@
include $(top_srcdir)/tools/shave.mk
+include $(top_srcdir)/tools/flymake.mk
AM_CPPFLAGS = \
-I. \
diff --git a/libempathy/Makefile.am b/libempathy/Makefile.am
index c9f2c42..3540c88 100644
--- a/libempathy/Makefile.am
+++ b/libempathy/Makefile.am
@@ -1,4 +1,5 @@
include $(top_srcdir)/tools/shave.mk
+include $(top_srcdir)/tools/flymake.mk
AM_CPPFLAGS = \
-I. \
diff --git a/src/Makefile.am b/src/Makefile.am
index 081b6f4..db21179 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,5 @@
include $(top_srcdir)/tools/shave.mk
+include $(top_srcdir)/tools/flymake.mk
AM_CPPFLAGS = \
-I$(top_srcdir) \
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 05da743..8662b44 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -15,6 +15,7 @@ EXTRA_DIST = \
check-misc.sh \
check-whitespace.sh \
doc-generator.xsl \
+ flymake.mk \
glib-client-gen.py \
glib-client-marshaller-gen.py \
glib-errors-enum-body-gen.py \
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]