summaryrefslogtreecommitdiff
path: root/dbus/examples/statemachine
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/examples/statemachine')
-rw-r--r--dbus/examples/statemachine/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/dbus/examples/statemachine/Makefile.am b/dbus/examples/statemachine/Makefile.am
index 2377621..a9b6237 100644
--- a/dbus/examples/statemachine/Makefile.am
+++ b/dbus/examples/statemachine/Makefile.am
@@ -34,7 +34,9 @@ statemachine-glue.h: statemachine.xml
$(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_object --mode=glib-server --output=$@ $<
sm-marshal.c: Makefile sm-marshal.list
- @GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body > $@.tmp && mv $@.tmp $@
+ echo "#include <config.h>" > $@.tmp
+ @GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body >> $@.tmp
+ mv $@.tmp $@
sm-marshal.h: Makefile sm-marshal.list
@GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header > $@.tmp && mv $@.tmp $@