]> git.0d.be Git - empathy.git/commitdiff
enable coding style checks in src
authorGuillaume Desmottes <gdesmott@gnome.org>
Tue, 14 Apr 2009 10:12:27 +0000 (11:12 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 18 May 2009 09:03:35 +0000 (10:03 +0100)
src/Makefile.am

index 9641a183751d809c2d76c1a900fa268ae9d7d740..58f30ad7d5b6263e5d664f21a184b997f5febf17 100644 (file)
@@ -22,8 +22,7 @@ BUILT_SOURCES= \
        empathy-tube-dispatch-enumtypes.h \
        empathy-tube-dispatch-enumtypes.c
 
-empathy_SOURCES =                                                      \
-       bacon-message-connection.c bacon-message-connection.h           \
+empathy_handwritten_source = \
        empathy.c                                                       \
        empathy-about-dialog.c empathy-about-dialog.h                   \
        empathy-accounts-dialog.c empathy-accounts-dialog.h             \
@@ -41,13 +40,23 @@ empathy_SOURCES =                                                   \
        empathy-preferences.c empathy-preferences.h                     \
        empathy-sidebar.c empathy-sidebar.h                     \
        empathy-status-icon.c empathy-status-icon.h                     \
-       empathy-tube-dispatch.c empathy-tube-dispatch.h                 \
+       empathy-tube-dispatch.c empathy-tube-dispatch.h
+
+empathy_SOURCES =                                                      \
+       $(empathy_handwritten_source)                                   \
+       bacon-message-connection.c bacon-message-connection.h           \
        ephy-spinner.c ephy-spinner.h
 
 nodist_empathy_SOURCES = $(BUILT_SOURCES)
 
 empathy_logs_SOURCES = empathy-logs.c
 
+check_c_sources = \
+    $(empathy_handwritten_source) \
+    $(empathy_logs_SOURCES)
+include $(top_srcdir)/tools/check-coding-style.mk
+check-local: check-coding-style
+
 uidir = $(datadir)/empathy
 ui_DATA =                                      \
        empathy-accounts-dialog.ui              \