[common.mk] Add -I$(top_srcdir)
authorJohan Dahlin <johan@gnome.org>
Mon, 31 May 2010 20:27:02 +0000 (17:27 -0300)
committerJohan Dahlin <johan@gnome.org>
Mon, 31 May 2010 20:29:52 +0000 (17:29 -0300)
This is needed to be able to find the public headers without
having them installed.

common.mk

index a741dc1..40aff8a 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -14,6 +14,7 @@ INTROSPECTION_SCANNER = \
     $(top_builddir)/tools/g-ir-scanner$(EXEEXT)
 INTROSPECTION_SCANNER_ARGS = \
     --verbose \
+    -I$(top_srcdir) \
     --add-include-path=$(srcdir) \
     --add-include-path=$(top_srcdir)/gir \
     --add-include-path=$(builddir) \