Fix gsettings enum rule to work with non-srcdir builds

Bug #635007.
This commit is contained in:
Christian Persch 2010-11-16 19:22:10 +01:00
parent ce50df7e0e
commit 78c34bb34f

View File

@ -67,7 +67,7 @@ clean-gsettings-schemas:
ifdef gsettings_ENUM_NAMESPACE ifdef gsettings_ENUM_NAMESPACE
$(gsettings__enum_file): $(gsettings_ENUM_FILES) $(gsettings__enum_file): $(gsettings_ENUM_FILES)
$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $(gsettings_ENUM_FILES) > [$]@.tmp && mv [$]@.tmp [$]@ $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@
endif endif
' '
_GSETTINGS_SUBST(GSETTINGS_RULES) _GSETTINGS_SUBST(GSETTINGS_RULES)