diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2011-08-17 15:45:54 +0200 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-03-29 10:33:32 +0200 |
commit | cce321f4c16c734cc5c72a94ce18fecf5ef9fb1a (patch) | |
tree | fd4b37c86a9e691877ec6bb57d00ca27b34d1adb | |
parent | a5e22eb37d1cb943049fe8bff301271fd93ce582 (diff) | |
download | telepathy-glib-cce321f4c16c734cc5c72a94ce18fecf5ef9fb1a.tar.gz |
Make g-i scanner abort on warning if not official release
-rw-r--r-- | telepathy-glib/introspection.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/telepathy-glib/introspection.am b/telepathy-glib/introspection.am index 8c4cfd061..2c7bebc8d 100644 --- a/telepathy-glib/introspection.am +++ b/telepathy-glib/introspection.am @@ -76,6 +76,12 @@ TelepathyGLib_0_12_gir_FILES = \ _gen/telepathy-interfaces.h \ $(NULL) +if OFFICIAL_RELEASE +SCANNER_WARN_ERROR = +else +SCANNER_WARN_ERROR = --warn-error +endif + TelepathyGLib_0_12_gir_NAMESPACE = TelepathyGLib TelepathyGLib_0_12_gir_VERSION = 0.12 TelepathyGLib_0_12_gir_LIBS = libtelepathy-glib.la @@ -87,6 +93,7 @@ TelepathyGLib_0_12_gir_SCANNERFLAGS = \ -I$(top_srcdir) \ --c-include="telepathy-glib/telepathy-glib.h" \ --warn-all \ + $(SCANNER_WARN_ERROR) \ $(NULL) TelepathyGLib_0_12_gir_INCLUDES = \ |