Makefile_insert revision b57071cb125d903a74a31406e83a966601e71403
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingink_common_sources += \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# cmp exits with status 0 when there are no differences. "if" executes the commands
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# after "then" when the exit status of the if command is 0 (this is crazy).
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding glib-genmarshal --prefix=sp_marshal --header $(srcdir)/helper/sp-marshal.list > helper/tmp.sp-marshal.h
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if cmp -s helper/sp-marshal.h helper/tmp.sp-marshal.h; \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding else mv helper/tmp.sp-marshal.h helper/sp-marshal.h; fi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldinghelper/sp-marshal.cpp: helper/sp-marshal.list helper/sp-marshal.h
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ( echo '#include "helper/sp-marshal.h"' && \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding glib-genmarshal --prefix=sp_marshal --body $(srcdir)/helper/sp-marshal.list ) \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if cmp -s helper/sp-marshal.cpp helper/tmp.sp-marshal.cpp; \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding else mv helper/tmp.sp-marshal.cpp helper/sp-marshal.cpp; fi