diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-01-09 03:58:01 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-01-09 03:58:01 +0800 |
commit | 3b8b7372417b7bcf64ef2e5c0304815e8c3b416a (patch) | |
tree | b05b3dd9576623cdf179889e26b4ad5a6321e1f6 /lib | |
parent | 4fc9af6cff1494c3cbbe48f253a84a5d9a3b92e5 (diff) | |
download | gsoc2013-epiphany-3b8b7372417b7bcf64ef2e5c0304815e8c3b416a.tar gsoc2013-epiphany-3b8b7372417b7bcf64ef2e5c0304815e8c3b416a.tar.gz gsoc2013-epiphany-3b8b7372417b7bcf64ef2e5c0304815e8c3b416a.tar.bz2 gsoc2013-epiphany-3b8b7372417b7bcf64ef2e5c0304815e8c3b416a.tar.lz gsoc2013-epiphany-3b8b7372417b7bcf64ef2e5c0304815e8c3b416a.tar.xz gsoc2013-epiphany-3b8b7372417b7bcf64ef2e5c0304815e8c3b416a.tar.zst gsoc2013-epiphany-3b8b7372417b7bcf64ef2e5c0304815e8c3b416a.zip |
More stamp magic.
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 18 | ||||
-rw-r--r-- | lib/egg/Makefile.am | 18 |
2 files changed, 26 insertions, 10 deletions
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 |