diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/Makefile.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/embed/Makefile.am b/embed/Makefile.am index 082ee6531..b0e648ecd 100644 --- a/embed/Makefile.am +++ b/embed/Makefile.am @@ -107,8 +107,8 @@ stamp_files = \ ephy-embed-type-builtins.c: stamp-ephy-embed-type-builtins.c Makefile @true -stamp-ephy-embed-type-builtins.c: $(INST_H_FILES) - ( cd $(srcdir) && $(GLIB_MKENUMS) \ +stamp-ephy-embed-type-builtins.c: Makefile $(INST_H_FILES) + $(GLIB_MKENUMS) \ --fhead "#include \"ephy-embed-type-builtins.h\"\n\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ --fprod "\n#include \"@filename@\"" \ @@ -120,15 +120,15 @@ stamp-ephy-embed-type-builtins.c: $(INST_H_FILES) --vtail " { 0, NULL, NULL }\n };\n\n" \ --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n }\n\n" \ --vtail " return type;\n}\n\n" \ - $(^F) ) > xgen-$(@F) \ + $(filter-out $<,$^) > 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 Makefile @true -stamp-ephy-embed-type-builtins.h: $(INST_H_FILES) - ( cd $(srcdir) && $(GLIB_MKENUMS) \ +stamp-ephy-embed-type-builtins.h: Makefile $(INST_H_FILES) + $(GLIB_MKENUMS) \ --fhead "#ifndef EPHY_EMBED_TYPE_BUILTINS_H\n" \ --fhead "#define EPHY_EMBED_TYPE_BUILTINS_H 1\n\n" \ --fhead "#include <glib-object.h>\n\n" \ @@ -138,7 +138,7 @@ stamp-ephy-embed-type-builtins.h: $(INST_H_FILES) --fprod "\n/* --- @filename@ --- */" \ --eprod "#define EPHY_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \ --eprod "GType @enum_name@_get_type (void);\n" \ - $(^F) ) > xgen-$(@F) \ + $(filter-out $<,$^) > xgen-$(@F) \ && ( cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%) ) \ && rm -f xgen-$(@F) \ && echo timestamp > $(@F) |