summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2008-10-12 23:29:09 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-10-12 23:29:09 +0000
commit48f1dd5a7e4608fee955dc5bb15290a9077ec427 (patch)
treed99a3112a0e1c976de2d8a3aae1da8e440bd919b /src/Makefile.am
parentff0fa107a4f9594aabd7ae5c59616449e1731a47 (diff)
downloadmetacity-48f1dd5a7e4608fee955dc5bb15290a9077ec427.tar.gz
metacity-48f1dd5a7e4608fee955dc5bb15290a9077ec427.tar.bz2
Make the bindings in src/core/*-bindings.h generate GConf schemas too.
2008-10-12 Thomas Thurman <tthurman@gnome.org> Make the bindings in src/core/*-bindings.h generate GConf schemas too. Note that there's an i18n issue (documented in schema-bindings.c) which will be fixed next checkin. * src/core/schema-bindings.c: major fixup to make it ready for use as part of the actual build process. * src/Makefile.am: added magic to make it call schema-bindings after it builds it. * src/core/window-bindings.h: added comments; also, window menu was listed variously as alt-Space and alt-Print; it should have been alt-Space. * src/metacity.schemas.in.in: renamed from s/\.in$//, sentinel added for the generated bindings, warning at the top now untrue, and removed. svn path=/trunk/; revision=3952
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index fe6c2a4..d0b5e1e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -136,6 +136,17 @@ metacity_theme_viewer_SOURCES= \
metacity_dialog_SOURCES= \
ui/metacity-dialog.c
+if GCONF_SCHEMAS_INSTALL
+schema_bindings_SOURCES = \
+ core/schema-bindings.c
+
+schema_bindings_LDADD = @METACITY_LIBS@
+metacity.schemas.in: schema_bindings
+ @echo Generating keybinding schemas...
+ ./schema_bindings > metacity.schemas.in
+
+endif
+
bin_PROGRAMS=metacity metacity-theme-viewer
libexec_PROGRAMS=metacity-dialog
@@ -148,7 +159,7 @@ testboxes_SOURCES=include/util.h core/util.c include/boxes.h core/boxes.c core/t
testgradient_SOURCES=ui/gradient.h ui/gradient.c ui/testgradient.c
testasyncgetprop_SOURCES=core/async-getprop.h core/async-getprop.c core/testasyncgetprop.c
-noinst_PROGRAMS=testboxes testgradient testasyncgetprop
+noinst_PROGRAMS=testboxes testgradient testasyncgetprop schema_bindings
testboxes_LDADD= @METACITY_LIBS@
testgradient_LDADD= @METACITY_LIBS@