[libnma/lr/nma-ws: 22/26] build/gtk4: ignore garbage before GtkBuilder xml
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnma/lr/nma-ws: 22/26] build/gtk4: ignore garbage before GtkBuilder xml
- Date: Sun, 16 Feb 2020 12:18:31 +0000 (UTC)
commit 08056d4d4f5a77e4900cc3e7ab107e6232ec81b6
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Thu Oct 31 09:13:16 2019 +0100
build/gtk4: ignore garbage before GtkBuilder xml
This is fixed in git snapshot of Gtk and will need to go away at some
point.
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Makefile.am b/Makefile.am
index 0db0e21c..fe109f2d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -259,7 +259,7 @@ src/libnma-gtk4/nma-resources.c: src/nma.gresource.xml $(shell $(GLIB_COMPILE_RE
src/libnma-gtk4/%.ui: src/%.ui
@mkdir -p $(builddir)/src/libnma-gtk4
- gtk4-builder-tool simplify --3to4 $< >$@
+ gtk4-builder-tool simplify --3to4 $< |awk '/^</ {xml=1} {if (xml) print; else print >"/dev/stderr"}'
$@
CLEANFILES += \
$(libnma_h_priv_gen) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]