[gnome-terminal] build: Don't call glib-genmarshal with both --header and --body
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] build: Don't call glib-genmarshal with both --header and --body
- Date: Sun, 22 Oct 2017 17:33:07 +0000 (UTC)
commit 0ea635f3dec365e22bf9a35313e28ca2cedbd563
Author: Christian Persch <chpe src gnome org>
Date: Sun Oct 22 19:32:46 2017 +0200
build: Don't call glib-genmarshal with both --header and --body
https://bugzilla.gnome.org/show_bug.cgi?id=788031
src/Makefile.am | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 5c9f720..f7b3ecb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -134,10 +134,10 @@ terminal-marshal.h: $(srcdir)/terminal-marshal.list
|| ( rm -f terminal-marshal.h.tmp && exit 1 )
terminal-marshal.c: $(srcdir)/terminal-marshal.list
- $(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=_terminal_marshal $(srcdir)/terminal-marshal.list \
- --header \
+ $(AM_V_GEN) ( echo '#include "terminal-marshal.h"' > terminal-marshal.c.tmp && \
+ $(GLIB_GENMARSHAL) --prefix=_terminal_marshal $(srcdir)/terminal-marshal.list \
--body \
- --internal > terminal-marshal.c.tmp \
+ --internal >> terminal-marshal.c.tmp \
&& mv terminal-marshal.c.tmp terminal-marshal.c ) \
|| ( rm -f terminal-marshal.c.tmp && exit 1 )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]