diff --git a/.gitignore b/.gitignore
index 5a42a35..047b141 100644
--- a/.gitignore
+++ b/.gitignore
@@ -61,6 +61,7 @@
 /m4/intlmacosx.m4
 /m4/intltool.m4
 /m4/intmax.m4
+/m4/introspection.m4
 /m4/inttypes-pri.m4
 /m4/inttypes_h.m4
 /m4/lcmessage.m4
diff --git a/calendar/libecal/Makefile.am b/calendar/libecal/Makefile.am
index 62d5144..215c4bf 100644
--- a/calendar/libecal/Makefile.am
+++ b/calendar/libecal/Makefile.am
@@ -67,8 +67,8 @@ DISTCLEANFILES = $(pkgconfig_DATA)
 
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
-INTROSPECTION_SCANNER_ARGS = --identifier-prefix E
-INTROSPECTION_COMPILER_ARGS =
+INTROSPECTION_SCANNER_ARGS = --add-include-path=$(top_builddir)/libedataserver --identifier-prefix E
+INTROSPECTION_COMPILER_ARGS = --includedir=$(top_builddir)/libedataserver
 
 if HAVE_INTROSPECTION
 
