Add srcdir, so distcheck passes
authorJohan Dahlin <jdahlin@litl.com>
Fri, 27 Feb 2009 16:50:06 +0000 (13:50 -0300)
committerJohan Dahlin <johan@gnome.org>
Fri, 27 Feb 2009 16:51:13 +0000 (13:51 -0300)
tests/Makefile.am

index 4d177d3f13875947580788b358e42e1996b4fb8f..3fe28134f02862c74fdbfd331cee3732097f223e 100644 (file)
@@ -25,8 +25,8 @@ GIRTESTS =                            \
 
 CLEANFILES = $(GIRTESTS:%.gir.test=%.1) $(GIRTESTS:%.gir.test=%.2) extended.gir.test
 
-extended.gir.test: extended.gir Makefile
-       $(DEBUG) $(top_builddir)/tools/g-ir-compiler --includedir=$(top_builddir)/gir extended.gir -o extended.gir.test
+extended.gir.test: $(srcdir)/extended.gir Makefile
+       $(DEBUG) $(top_builddir)/tools/g-ir-compiler --includedir=$(top_builddir)/gir $(srcdir)/extended.gir -o extended.gir.test
 
 %.gir.test: %.gir Makefile
        @echo "  TEST " $<