[Telepathy-commits] [telepathy-mission-control/master] Disable pedantry when building gtkdoc scanners.
Will Thompson
will.thompson at collabora.co.uk
Tue Dec 16 09:28:44 PST 2008
They hit a bunch of warnings, which meant building with -Werror fails on code
we don't care about.
---
doc/reference/libmcclient/Makefile.am | 4 ++++
doc/reference/libmissioncontrol-server/Makefile.am | 4 ++++
doc/reference/libmissioncontrol/Makefile.am | 4 ++++
3 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/doc/reference/libmcclient/Makefile.am b/doc/reference/libmcclient/Makefile.am
index a32e3ef..f5bc184 100644
--- a/doc/reference/libmcclient/Makefile.am
+++ b/doc/reference/libmcclient/Makefile.am
@@ -70,6 +70,10 @@ HTML_IMAGES=
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
content_files=
+# Undefine this so the scanner doesn't inherit the ultra-pedantic warnings used
+# for real code.
+AM_CFLAGS =
+
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
# signals and properties.
diff --git a/doc/reference/libmissioncontrol-server/Makefile.am b/doc/reference/libmissioncontrol-server/Makefile.am
index 7864d9f..5a7a8d1 100644
--- a/doc/reference/libmissioncontrol-server/Makefile.am
+++ b/doc/reference/libmissioncontrol-server/Makefile.am
@@ -56,6 +56,10 @@ HTML_IMAGES=
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
content_files=
+# Undefine this so the scanner doesn't inherit the ultra-pedantic warnings used
+# for real code.
+AM_CFLAGS =
+
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
# signals and properties.
diff --git a/doc/reference/libmissioncontrol/Makefile.am b/doc/reference/libmissioncontrol/Makefile.am
index 6a3ed5e..b2a0297 100644
--- a/doc/reference/libmissioncontrol/Makefile.am
+++ b/doc/reference/libmissioncontrol/Makefile.am
@@ -58,6 +58,10 @@ HTML_IMAGES=
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
content_files=
+# Undefine this so the scanner doesn't inherit the ultra-pedantic warnings used
+# for real code.
+AM_CFLAGS =
+
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
# signals and properties.
--
1.5.6.5
More information about the Telepathy-commits
mailing list