aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-07 02:49:24 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-07 02:49:24 +0800
commit7116e574da0fbe0c66c11e099996ad0f4c481035 (patch)
treeabbd7f9d51bd55a91bfc4d260a9a11a1afe4da44 /lib
parent35ad841aceed89072e2cc6f589405a6feb411f74 (diff)
downloadgsoc2013-epiphany-7116e574da0fbe0c66c11e099996ad0f4c481035.tar
gsoc2013-epiphany-7116e574da0fbe0c66c11e099996ad0f4c481035.tar.gz
gsoc2013-epiphany-7116e574da0fbe0c66c11e099996ad0f4c481035.tar.bz2
gsoc2013-epiphany-7116e574da0fbe0c66c11e099996ad0f4c481035.tar.lz
gsoc2013-epiphany-7116e574da0fbe0c66c11e099996ad0f4c481035.tar.xz
gsoc2013-epiphany-7116e574da0fbe0c66c11e099996ad0f4c481035.tar.zst
gsoc2013-epiphany-7116e574da0fbe0c66c11e099996ad0f4c481035.zip
Simplfiy the rule a bit.
2005-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: Simplfiy the rule a bit.
Diffstat (limited to 'lib')
-rw-r--r--lib/egg/Makefile.am4
1 files changed, 2 insertions, 2 deletions
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)