Fix include path when building Shell-1.0.gir

Since shell-slicer.h includes st.h, and that includes
<st/*.h>, we need to add -I $(srcdir) to the command line when
running g-ir-scanner to generate Shell-1.0.gir.
This commit is contained in:
Owen W. Taylor 2010-02-22 22:07:20 -05:00
parent ce6dd21cd3
commit 2dc8d9b462

View File

@ -179,6 +179,7 @@ Shell-0.1.gir: $(mutter) $(G_IR_SCANNER) Big-1.0.gir St-1.0.gir libgnome-shell.l
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \ --program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
$(addprefix $(srcdir)/,$(libgnome_shell_la_gir_sources)) \ $(addprefix $(srcdir)/,$(libgnome_shell_la_gir_sources)) \
$(libgnome_shell_la_CPPFLAGS) \ $(libgnome_shell_la_CPPFLAGS) \
-I $(srcdir) \
-o $@ -o $@
CLEANFILES += Shell-0.1.gir CLEANFILES += Shell-0.1.gir