build: Don't append to an accidentally existing file

This commit is contained in:
Benjamin Otte 2011-11-08 20:16:48 +01:00
parent c2da143aa6
commit ba05093fe7

View File

@ -902,7 +902,7 @@ gtktypebuiltins.h: stamp-gtktypebuiltins.h
@true
stamp-gtktypebuiltins.h: @REBUILD@ $(gtk_public_h_sources) $(deprecated_h_sources) gtktypebuiltins.h.template
$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gtktypebuiltins.h.template \
$(gtk_public_h_sources) $(deprecated_h_sources) ) >> xgen-gtbh \
$(gtk_public_h_sources) $(deprecated_h_sources) ) > xgen-gtbh \
&& (cmp -s xgen-gtbh gtktypebuiltins.h || cp xgen-gtbh gtktypebuiltins.h ) \
&& rm -f xgen-gtbh \
&& echo timestamp > $(@F)