diff options
-rw-r--r-- | build/autotools/Makefile.am.marshal | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/build/autotools/Makefile.am.marshal b/build/autotools/Makefile.am.marshal index 89d3222eb..f29629ce1 100644 --- a/build/autotools/Makefile.am.marshal +++ b/build/autotools/Makefile.am.marshal @@ -43,10 +43,9 @@ $(marshal_h): stamp-marshal @true $(marshal_c): $(marshal_h) - $(AM_V_GEN)(echo "#include \"$(marshal_h)\"" ; \ - $(GLIB_GENMARSHAL) \ + $(AM_V_GEN)$(GLIB_GENMARSHAL) \ --prefix=$(glib_marshal_prefix) \ --body \ - $(marshal_list)) > xgen-mc \ - && cp xgen-mc $(marshal_c) \ + $(marshal_list) > xgen-mc \ + && (cmp -s xgen-mc $(marshal_c) || cp -f xgen-mc $(marshal_c)) \ && rm -f xgen-mc |