diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 11:48:23 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2010-11-10 06:33:23 +0800 |
commit | 7439ad9ca1e74c926709d94a109404aced41cfff (patch) | |
tree | a0dea5575f9e8fe0f2454f8b36a24572b81e0b20 /marshal.mk | |
parent | 8dda5a4a76e2439e485bb1617f036b0d941dbdb8 (diff) | |
download | gsoc2013-evolution-7439ad9ca1e74c926709d94a109404aced41cfff.tar.gz gsoc2013-evolution-7439ad9ca1e74c926709d94a109404aced41cfff.tar.zst gsoc2013-evolution-7439ad9ca1e74c926709d94a109404aced41cfff.zip |
Fix distcheck errors.
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 ) |