diff --git a/ChangeLog b/ChangeLog index 1d9e1561d..f97390fe9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2008-10-22 Thomas Thurman * src/core/schema-bindings.c: support builds outside tree properly. + * src/Makefile.am: ditto. 2008-10-22 Thomas Thurman diff --git a/src/Makefile.am b/src/Makefile.am index 932ed354b..0615a62a7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -139,12 +139,13 @@ metacity_dialog_SOURCES= \ ui/metacity-dialog.c schema_bindings_SOURCES = \ - core/schema-bindings.c + core/schema-bindings.c \ + metacity.schemas.in.in schema_bindings_LDADD = @METACITY_LIBS@ -metacity.schemas.in: schema_bindings metacity.schemas.in.in - @echo Generating keybinding schemas... - cd ${srcdir};${builddir}/schema_bindings > metacity.schemas.in +metacity.schemas.in: schema_bindings ${srcdir}/metacity.schemas.in.in + @echo Generating keybinding schemas... ${srcdir}/metacity.schemas.in.in + ${builddir}/schema_bindings ${srcdir}/metacity.schemas.in.in ${builddir}/metacity.schemas.in bin_PROGRAMS=metacity metacity-theme-viewer libexec_PROGRAMS=metacity-dialog