{ "allow-any-name", 0, 0, G_OPTION_ARG_NONE, &allow_any_name, N_("Do not enforce key name restrictions") },
/* These options are only for use in the gschema-compile tests */
- { "schema-files", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME_ARRAY, &schema_files, NULL, NULL },
+ { "schema-file", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME_ARRAY, &schema_files, NULL, NULL },
{ NULL }
};
GSETTINGS_CHECK_RULE='
.PHONY : check-gsettings-schema
-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)
- $(GLIB_COMPILE_SCHEMAS) --dry-run --schema-files $?
+gsettings_schema_validate_stamp: *.gschema.xml
+ $(GLIB_COMPILE_SCHEMAS) --dry-run $(addprefix --schema-files=,$?)
touch [$]@
all: check-gsettings-schema