From 026c58b8631cd0b7ab2b2d7d53a5114f7ccf0245 Mon Sep 17 00:00:00 2001 From: Crispin Flowerday Date: Thu, 26 Jan 2006 21:54:58 +0000 Subject: Use stamp files for the dbus bindings.h files 2006-01-26 Crispin Flowerday * src/Makefile.am: Use stamp files for the dbus bindings.h files --- src/Makefile.am | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 15b4ee5e6..f5420a254 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -252,7 +252,9 @@ endif stamp_files = \ stamp-ephy-type-builtins.c \ - stamp-ephy-type-builtins.h + stamp-ephy-type-builtins.h \ + stamp-ephy-dbus-server-bindings.h \ + stamp-ephy-dbus-client-bindings.h ephy-type-builtins.c: stamp-ephy-type-builtins.c @true @@ -292,15 +294,21 @@ stamp-ephy-type-builtins.h: $(INST_H_FILES) $(NOINST_H_FILES) && rm -f xgen-$(@F) \ && echo timestamp > $(@F) -ephy-dbus-server-bindings.h: $(top_srcdir)/data/epiphany-service.xml Makefile +ephy-dbus-server-bindings.h: stamp-ephy-dbus-server-bindings.h + @true +stamp-ephy-dbus-server-bindings.h: $(top_srcdir)/data/epiphany-service.xml Makefile $(DBUS_BINDING_TOOL) --prefix=ephy_activation --mode=glib-server $< > xgen-$(@F) \ - && ( cmp -s xgen-$(@F) $(@F) || cp xgen-$(@F) $(@F) ) \ - && rm -f xgen-$(@F) + && ( cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%) ) \ + && rm -f xgen-$(@F) \ + && echo timestamp > $(@F) -ephy-dbus-client-bindings.h: $(top_srcdir)/data/epiphany-service.xml Makefile +ephy-dbus-client-bindings.h: stamp-ephy-dbus-client-bindings.h + @true +stamp-ephy-dbus-client-bindings.h: $(top_srcdir)/data/epiphany-service.xml Makefile $(DBUS_BINDING_TOOL) --prefix=ephy_activation --mode=glib-client $< > xgen-$(@F) \ - && ( cmp -s xgen-$(@F) $(@F) || cp xgen-$(@F) $(@F) ) \ - && rm -f xgen-$(@F) + && ( cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%) ) \ + && rm -f xgen-$(@F) \ + && echo timestamp > $(@F) epiphany.c: epiphany.defs epiphany.override ( cd $(srcdir) && $(PYGTK_CODEGEN) \ -- cgit v1.2.3