aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--embed/Makefile.am4
-rw-r--r--lib/egg/Makefile.am4
-rw-r--r--src/Makefile.am4
4 files changed, 14 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 766d7e4a7..627443131 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2005-01-06 Christian Persch <chpe@cvs.gnome.org>
+ * embed/Makefile.am:
+ * lib/egg/Makefile.am:
+ * src/Makefile.am:
+
+ Simplfiy the rule a bit.
+
+2005-01-06 Christian Persch <chpe@cvs.gnome.org>
+
* configure.ac:
* embed/Makefile.am:
* embed/ephy-embed-event.c:
diff --git a/embed/Makefile.am b/embed/Makefile.am
index b34619866..03a990dd1 100644
--- a/embed/Makefile.am
+++ b/embed/Makefile.am
@@ -106,7 +106,7 @@ ephy-embed-type-builtins.c: $(TYPES_H_FILES)
--vtail " if (G_UNLIKELY (type == 0))\n" \
--vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \
--vtail " return type;\n}\n\n" \
- $(TYPES_H_FILES) ) > xgen-$(@F) \
+ $(^F) ) > xgen-$(@F) \
&& ( cmp -s xgen-$(@F) $(@F) || cp xgen-$(@F) $(@F) ) \
&& rm -f xgen-$(@F)
@@ -121,6 +121,6 @@ ephy-embed-type-builtins.h: $(TYPES_H_FILES)
--fprod "\n/* --- @filename@ --- */" \
--eprod "#define EPHY_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \
--eprod "GType @enum_name@_get_type (void);\n" \
- $(TYPES_H_FILES) ) > xgen-$(@F) \
+ $(^F) ) > xgen-$(@F) \
&& ( cmp -s xgen-$(@F) $(@F) || cp xgen-$(@F) $(@F) ) \
&& rm -f xgen-$(@F)
diff --git a/lib/egg/Makefile.am b/lib/egg/Makefile.am
index 1de926360..97173c04d 100644
--- a/lib/egg/Makefile.am
+++ b/lib/egg/Makefile.am
@@ -62,7 +62,7 @@ eggtypebuiltins.c: $(EGGHEADERS)
--vtail " if (G_UNLIKELY (type == 0))\n" \
--vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \
--vtail " return type;\n}\n\n" \
- $(EGGHEADERS) ) > xgen-$(@F) \
+ $(^F) ) > xgen-$(@F) \
&& ( cmp -s xgen-$(@F) $(@F) || cp xgen-$(@F) $(@F) ) \
&& rm -f xgen-$(@F)
@@ -77,7 +77,7 @@ eggtypebuiltins.h: $(EGGHEADERS)
--fprod "\n/* --- @filename@ --- */" \
--eprod "#define EGG_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \
--eprod "GType @enum_name@_get_type (void);\n" \
- $(EGGHEADERS) ) > xgen-$(@F) \
+ $(^F) ) > xgen-$(@F) \
&& ( cmp -s xgen-$(@F) $(@F) || cp xgen-$(@F) $(@F) ) \
&& rm -f xgen-$(@F)
diff --git a/src/Makefile.am b/src/Makefile.am
index eb40d34ae..75a8dda6b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -165,7 +165,7 @@ ephy-type-builtins.c: $(INST_H_FILES) $(NOINST_H_FILES)
--vtail " if (G_UNLIKELY (type == 0))\n" \
--vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \
--vtail " return type;\n}\n\n" \
- $(INST_H_FILES) $(NOINST_H_FILES) ) > xgen-$(@F) \
+ $(^F) ) > xgen-$(@F) \
&& ( cmp -s xgen-$(@F) $(@F) || cp xgen-$(@F) $(@F) ) \
&& rm -f xgen-$(@F)
@@ -180,7 +180,7 @@ ephy-type-builtins.h: $(INST_H_FILES) $(NOINST_H_FILES)
--fprod "\n/* --- @filename@ --- */" \
--eprod "#define EPHY_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \
--eprod "GType @enum_name@_get_type (void);\n" \
- $(INST_H_FILES) $(NOINST_H_FILES) ) > xgen-$(@F) \
+ $(^F) ) > xgen-$(@F) \
&& ( cmp -s xgen-$(@F) $(@F) || cp xgen-$(@F) $(@F) ) \
&& rm -f xgen-$(@F)