diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 11:48:23 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 13:23:13 +0800 |
commit | 1ca2b18e67672b7b2ec87c43e99d246a7208943d (patch) | |
tree | db501cad36e31ca1bdd5251bc1adbc28db313fea /marshal.mk | |
parent | fa97b170141535096c942da880e473806cab115f (diff) | |
download | gsoc2013-evolution-1ca2b18e67672b7b2ec87c43e99d246a7208943d.tar.gz gsoc2013-evolution-1ca2b18e67672b7b2ec87c43e99d246a7208943d.tar.zst gsoc2013-evolution-1ca2b18e67672b7b2ec87c43e99d246a7208943d.zip |
Fix distcheck errors.EVOLUTION_2_91_2
Diffstat (limited to 'marshal.mk')
-rw-r--r-- | marshal.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/marshal.mk b/marshal.mk new file mode 100644 index 0000000000..5da83b80ec --- /dev/null +++ b/marshal.mk @@ -0,0 +1,7 @@ +%.h: %.list + ( $(GLIB_GENMARSHAL) --prefix=$(subst -,_,$*) $< --header > $@.tmp \ + && mv $@.tmp $@ ) || ( rm -f $@.tmp && exit 1 ) + +%.c: %.list %.h + ( (echo "#include \"$*.h\""; $(GLIB_GENMARSHAL) --prefix=$(subst -,_,$*) $(srcdir)/$*.list --body) > $@.tmp \ + && mv $@.tmp $@ ) || ( rm -f $@.tmp && exit 1 ) |