diff options
-rw-r--r-- | .cvsignore | 2 | ||||
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | embed/Makefile.am | 10 | ||||
-rw-r--r-- | lib/Makefile.am | 18 | ||||
-rw-r--r-- | lib/egg/Makefile.am | 18 | ||||
-rw-r--r-- | src/Makefile.am | 10 |
6 files changed, 50 insertions, 17 deletions
diff --git a/.cvsignore b/.cvsignore index d4a5c07b3..450d6694b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -21,4 +21,4 @@ depcomp gtk-doc.make install-sh missing - +build @@ -1,5 +1,14 @@ 2005-01-08 Christian Persch <chpe@cvs.gnome.org> + * embed/Makefile.am: + * lib/Makefile.am: + * lib/egg/Makefile.am: + * src/Makefile.am: + + More stamp magic. + +2005-01-08 Christian Persch <chpe@cvs.gnome.org> + * embed/ephy-cookie-manager.h: * embed/ephy-download.c: * embed/ephy-download.h: diff --git a/embed/Makefile.am b/embed/Makefile.am index b2b32df9b..21bd2cc87 100644 --- a/embed/Makefile.am +++ b/embed/Makefile.am @@ -95,9 +95,12 @@ DISTCLEAN_FILES = $(BUILT_SOURCES) MAINTAINERCLEANFILES = $(stamp_files) $(BUILT_SOURCES) stamp_files = \ + stamp-ephy-embed-type-builtins.c \ stamp-ephy-embed-type-builtins.h -ephy-embed-type-builtins.c: $(TYPES_H_FILES) +ephy-embed-type-builtins.c: stamp-ephy-embed-type-builtins.c + @true +stamp-ephy-embed-type-builtins.c: $(TYPES_H_FILES) ( cd $(srcdir) && $(GLIB_MKENUMS) \ --fhead "#include \"ephy-embed-type-builtins.h\"\n\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ @@ -111,8 +114,9 @@ ephy-embed-type-builtins.c: $(TYPES_H_FILES) --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ --vtail " return type;\n}\n\n" \ $(^F) ) > 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-embed-type-builtins.h: stamp-ephy-embed-type-builtins.h @true diff --git a/lib/Makefile.am b/lib/Makefile.am index 6570ecf82..749c315b4 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -84,11 +84,16 @@ DISTCLEAN_FILES = $(BUILT_SOURCES) MAINTAINERCLEANFILES = $(stamp_files) $(BUILT_SOURCES) stamp_files = \ + stamp-ephy-lib-type-builtins.c \ stamp-ephy-lib-type-builtins.h \ + stamp-ephy-marshal.c \ stamp-ephy-marshal.h -ephy-marshal.c: ephy-marshal.list - $(GLIB_GENMARSHAL) --prefix=ephy_marshal $(srcdir)/ephy-marshal.list --header --body > ephy-marshal.c +ephy-marshal.c: stamp-ephy-marshal.c + @true +stamp-ephy-marshal.c: ephy-marshal.list + $(GLIB_GENMARSHAL) --prefix=ephy_marshal $(srcdir)/ephy-marshal.list --header --body > ephy-marshal.c \ + && echo timestamp > $(@F) ephy-marshal.h: stamp-ephy-marshal.h @true @@ -96,7 +101,9 @@ stamp-ephy-marshal.h: ephy-marshal.list $(GLIB_GENMARSHAL) --prefix=ephy_marshal $(srcdir)/ephy-marshal.list --header > ephy-marshal.h \ && echo timestamp > $(@F) -ephy-lib-type-builtins.c: $(TYPES_H_FILES) +ephy-lib-type-builtins.c: stamp-ephy-lib-type-builtins.c + @true +stamp-ephy-lib-type-builtins.c: $(TYPES_H_FILES) ( cd $(srcdir) && $(GLIB_MKENUMS) \ --fhead "#include \"ephy-lib-type-builtins.h\"\n\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ @@ -110,8 +117,9 @@ ephy-lib-type-builtins.c: $(TYPES_H_FILES) --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ --vtail " return type;\n}\n\n" \ $(^F) ) > 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-lib-type-builtins.h: stamp-ephy-lib-type-builtins.h @true diff --git a/lib/egg/Makefile.am b/lib/egg/Makefile.am index 23672cdcc..83cb773a3 100644 --- a/lib/egg/Makefile.am +++ b/lib/egg/Makefile.am @@ -44,7 +44,9 @@ BUILT_SOURCES = \ eggtypebuiltins.h stamp_files = \ + stamp-eggmarshalers.c \ stamp-eggmarshalers.h \ + stamp-eggtypebuiltins.c \ stamp-eggtypebuiltins.h eggmarshalers.h: stamp-eggmarshalers.h @@ -53,10 +55,15 @@ stamp-eggmarshalers.h: eggmarshalers.list $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header > eggmarshalers.h \ && echo timestamp > $(@F) -eggmarshalers.c: eggmarshalers.list - $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header --body > eggmarshalers.c +eggmarshalers.c: stamp-eggmarshalers.c + @true +stamp-eggmarshalers.c: eggmarshalers.list + $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header --body > eggmarshalers.c \ + && echo timestamp > $(@F) -eggtypebuiltins.c: $(EGGHEADERS) +eggtypebuiltins.c: stamp-eggtypebuiltins.c + @true +stamp-eggtypebuiltins.c: $(EGGHEADERS) ( cd $(srcdir) && $(GLIB_MKENUMS) \ --fhead "#include \"eggtypebuiltins.h\"\n\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ @@ -70,8 +77,9 @@ eggtypebuiltins.c: $(EGGHEADERS) --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ --vtail " return type;\n}\n\n" \ $(^F) ) > 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) eggtypebuiltins.h: stamp-eggtypebuiltins.h @true diff --git a/src/Makefile.am b/src/Makefile.am index 1ec9905ee..3f1db63ee 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -149,9 +149,12 @@ TYPES_SOURCE = \ ephy-type-builtins.h stamp_files = \ + stamp-ephy-type-builtins.c \ stamp-ephy-type-builtins.h -ephy-type-builtins.c: $(INST_H_FILES) $(NOINST_H_FILES) +ephy-type-builtins.c: stamp-ephy-type-builtins.c + @true +stamp-ephy-type-builtins.c: $(INST_H_FILES) $(NOINST_H_FILES) ( cd $(srcdir) && $(GLIB_MKENUMS) \ --fhead "#include \"ephy-type-builtins.h\"\n\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ @@ -165,8 +168,9 @@ ephy-type-builtins.c: $(INST_H_FILES) $(NOINST_H_FILES) --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ --vtail " return type;\n}\n\n" \ $(^F) ) > 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-type-builtins.h: stamp-ephy-type-builtins.h @true |