[gtk+] build: Beautify the GIR post-processing
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] build: Beautify the GIR post-processing
- Date: Wed, 26 Oct 2016 14:59:11 +0000 (UTC)
commit b6c749e61c64ad7b90161b64faaf4161394f307d
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Oct 26 15:58:23 2016 +0100
build: Beautify the GIR post-processing
Use AM_V_GEN to silence the command line output.
gtk/Makefile.am | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 9803d89..4586259 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1517,25 +1517,37 @@ INTROSPECTION_COMPILER_ARGS = \
--includedir=../gdk
Gdk-4.0.gir: $(top_builddir)/gdk/Gdk-noinst-4.0.gir
- sed -e "s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" -e "s/noinst-4.0/4.0/" <
$(top_builddir)/gdk/Gdk-noinst-4.0.gir > $@
+ $(AM_V_GEN) $(SED) \
+ -e "s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" \
+ -e "s/noinst-4.0/4.0/" \
+ < $(top_builddir)/gdk/Gdk-noinst-4.0.gir > $@
EXTRA_GIRS = Gdk-4.0.gir
if USE_X11
GdkX11-4.0.gir: $(top_builddir)/gdk/GdkX11-noinst-4.0.gir
- sed -e "s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" -e "s/noinst-4.0/4.0/" <
$(top_builddir)/gdk/GdkX11-noinst-4.0.gir > $@
+ $(AM_V_GEN) $(SED) \
+ -e "s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" \
+ -e "s/noinst-4.0/4.0/" \
+ < $(top_builddir)/gdk/GdkX11-noinst-4.0.gir > $@
EXTRA_GIRS += GdkX11-4.0.gir
endif
if OS_WIN32
GdkWin32-4.0.gir: $(top_builddir)/gdk/GdkX11-noinst-4.0.gir
- sed "-e s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" -e "s/noinst-4.0/4.0/" <
$(top_builddir)/gdk/GdkX11-noinst-4.0.gir > $@
+ $(AM_V_GEN) $(SED) \
+ -e "s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" \
+ -e "s/noinst-4.0/4.0/" \
+ < $(top_builddir)/gdk/GdkX11-noinst-4.0.gir > $@
EXTRA_GIRS += GdkWin32-4.0.gir
endif
Gsk-4.0.gir: $(top_builddir)/gsk/Gsk-noinst-4.0.gir
- sed -e "s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" -e "s/noinst-4.0/4.0/" <
$(top_builddir)/gsk/Gsk-noinst-4.0.gir > $@
+ $(AM_V_GEN) $(SED) \
+ -e "s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" \
+ -e "s/noinst-4.0/4.0/" \
+ < $(top_builddir)/gsk/Gsk-noinst-4.0.gir > $@
EXTRA_GIRS += Gsk-4.0.gir
Gtk-4.0.gir: $(INTROSPECTION_SCANNER) libgtk-4.la Gdk-4.0.gir Gsk-4.0.gir Makefile
@@ -1558,10 +1570,10 @@ Gtk_4_0_gir_EXPORT_PACKAGES = gtk+-4.0
INTROSPECTION_GIRS = Gtk-4.0.gir
girdir = $(datadir)/gir-1.0
-gir_DATA = $(INTROSPECTION_GIRS) $(EXTRA_GIRS)
+nodist_gir_DATA = $(INTROSPECTION_GIRS) $(EXTRA_GIRS)
typelibsdir = $(libdir)/girepository-1.0
-typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) $(EXTRA_GIRS:.gir=.typelib)
+nodist_typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) $(EXTRA_GIRS:.gir=.typelib)
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]