Make GSETTINGS_CHECK_RULE work in !srcdir builds

This problem was reported in bug 617823.
This commit is contained in:
Matthias Clasen 2010-05-08 21:18:48 -04:00
parent c13c36e3b9
commit 08b5f86697

View File

@ -25,7 +25,7 @@ AC_DEFUN([GLIB_GSETTINGS],
GSETTINGS_CHECK_RULE='
.PHONY : check-gsettings-schema
gschema_xml_files := $(wildcard *.gschema.xml)
gschema_xml_files := $(wildcard $(srcdir)/*.gschema.xml)
check-gsettings-schema: gsettings_schema_validate_stamp
MOSTLYCLEANFILES += gsettings_schema_validate_stamp
gsettings_schema_validate_stamp: $(gschema_xml_files)