[brasero] build: Use modern autotools integration for introspection
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [brasero] build: Use modern autotools integration for introspection
- Date: Tue, 31 May 2016 15:47:36 +0000 (UTC)
commit d5723247ac2fbd5d344acc205934c7c60b2036c4
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue May 31 16:45:41 2016 +0100
build: Use modern autotools integration for introspection
No need to replicate a ton of m4 and make dark magic: we can use the
introspection.m4 and the Makefile.introspection rules to build
introspection data properly for us — without breaking distcheck.
configure.ac | 76 +------------
libbrasero-burn/Makefile.am | 99 ++++++++--------
libbrasero-media/Makefile.am | 255 ++++++++++++++++++++++--------------------
3 files changed, 188 insertions(+), 242 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7e4a40b..e52940d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -470,80 +470,8 @@ if test x"$enable_inotify" = "xyes"; then
fi
AM_CONDITIONAL(BUILD_INOTIFY, test x"$enable_inotify" = "xyes")
-dnl ****** GObject Introspection **********************
-dnl This is a copy of the m4 function in gobject-introspection package
-dnl but it was modified so the install path can be forced with a command
-dnl line parameter. This is to be able to use make distcheck.
-
-GOBJECT_INTROSPECTION_REQUIRED=0.6.3
-
-AC_ARG_ENABLE(introspection,
- AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]], [Enable introspection for
this build]),
- [enable_introspection=$enableval],
- [enable_introspection="auto"])
-
-AC_ARG_WITH(girdir,
- AS_HELP_STRING([--with-girdir=DIR],[Installation path for .gir files @<:@auto@:>@]),
- [ac_with_girdir=$withval],
- [ac_with_girdir=""])
-
-AC_ARG_WITH(typelibdir,
- AS_HELP_STRING([--with-typelibdir=DIR],[Installation path for .typelib files
@<:@auto@:>@]),
- [ac_with_typelibdir=$withval],
- [ac_with_typelibdir=""])
-
-AC_MSG_CHECKING([for gobject-introspection])
-
-dnl presence/version checking
-AS_CASE([$enable_introspection],
- [no], [dnl
- found_introspection="no (disabled, use --enable-introspection to enable)"
- ],dnl
- [yes],[dnl
- PKG_CHECK_EXISTS([gobject-introspection-1.0],,
- AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
- PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED],
- found_introspection=yes,
- AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build
AC_PACKAGE_NAME]))
- ],dnl
- [auto],[dnl
- PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED],
found_introspection=yes, found_introspection=no)
- ],dnl
- [dnl
- AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of
@<:@no/auto/yes@:>@])
-])dnl
-
-AC_MSG_RESULT([$found_introspection])
-
-INTROSPECTION_SCANNER=
-INTROSPECTION_COMPILER=
-INTROSPECTION_GENERATE=
-INTROSPECTION_GIRDIR=
-INTROSPECTION_TYPELIBDIR=
-if test "x$found_introspection" = "xyes"; then
- INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
- INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
- INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
-
- if test "${ac_with_girdir}" = ""; then
- ac_with_girdir=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
- fi
- INTROSPECTION_GIRDIR=${ac_with_girdir}
- AC_MSG_NOTICE([installing .gir files in ${INTROSPECTION_GIRDIR}])
-
- if test "${ac_with_typelibdir}" = ""; then
- ac_with_typelibdir="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
- fi
- INTROSPECTION_TYPELIBDIR=${ac_with_typelibdir}
- AC_MSG_NOTICE([installing .typelib files in ${INTROSPECTION_TYPELIBDIR}])
-fi
-AC_SUBST(INTROSPECTION_SCANNER)
-AC_SUBST(INTROSPECTION_COMPILER)
-AC_SUBST(INTROSPECTION_GENERATE)
-AC_SUBST(INTROSPECTION_GIRDIR)
-AC_SUBST(INTROSPECTION_TYPELIBDIR)
-
-AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
+dnl ****** Check for introspection ***************************
+GOBJECT_INTROSPECTION_CHECK([1.30.0])
dnl ****** Update mime, desktop and icon caches *******
AC_ARG_ENABLE(caches,
diff --git a/libbrasero-burn/Makefile.am b/libbrasero-burn/Makefile.am
index 70622a6..470e61f 100644
--- a/libbrasero-burn/Makefile.am
+++ b/libbrasero-burn/Makefile.am
@@ -5,6 +5,8 @@ AM_CPPFLAGS = \
-I$(top_builddir)/libbrasero-utils/ \
-I$(top_srcdir)/libbrasero-media/ \
-I$(top_builddir)/libbrasero-media/ \
+ -I$(top_srcdir)/libbrasero-burn/ \
+ -I$(top_builddir)/libbrasero-burn/ \
-DBRASERO_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
-DBRASERO_PREFIX=\"$(prefix)\" \
-DBRASERO_SYSCONFDIR=\"$(sysconfdir)\" \
@@ -22,9 +24,14 @@ AM_CPPFLAGS = \
$(BRASERO_CANBERRA_CFLAGS) \
-Wno-error=format-nonliteral
+CLEANFILES =
+EXTRA_DIST =
+
GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
RECMARSHALFILES = libbrasero-marshal.h libbrasero-marshal.c
+CLEANFILES += $(RECMARSHALFILES)
+
libbrasero-marshal.h: libbrasero-marshal.list
( $(GLIB_GENMARSHAL) --prefix=brasero_marshal $(srcdir)/libbrasero-marshal.list --header >
libbrasero-marshal.h )
libbrasero-marshal.c: libbrasero-marshal.h
@@ -199,63 +206,57 @@ if BUILD_INOTIFY
libbrasero_burn3_la_SOURCES += brasero-file-monitor.c brasero-file-monitor.h
endif
-EXTRA_DIST = \
+EXTRA_DIST += \
libbrasero-marshal.list
# libbrasero-burn.symbols
+include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ARGS = --warn-all
+
if HAVE_INTROSPECTION
-girdir = $(INTROSPECTION_GIRDIR)
-gir_DATA = BraseroBurn- TYPELIB_VERSION@.gir
+introspected_source = \
+ brasero-tags.h \
+ brasero-enums.h \
+ brasero-error.h \
+ brasero-status.h brasero-status.c \
+ brasero-burn-lib.h \
+ brasero-track-type.h brasero-track-type.c \
+ brasero-track.h brasero-track.c \
+ brasero-track-data.h brasero-track-data.c \
+ brasero-track-data-cfg.h brasero-track-data-cfg.c \
+ brasero-track-disc.h brasero-track-disc.c \
+ brasero-track-stream.h brasero-track-stream.c \
+ brasero-track-stream-cfg.h brasero-track-stream-cfg.c \
+ brasero-track-image.h brasero-track-image.c \
+ brasero-track-image-cfg.h brasero-track-image-cfg.c \
+ brasero-session.h brasero-session.c \
+ brasero-session-span.h brasero-session-span.c \
+ brasero-session-cfg.h brasero-session-cfg.c \
+ brasero-burn.h brasero-burn.c \
+ brasero-burn-options.h brasero-burn-options.c \
+ brasero-burn-dialog.h brasero-burn-dialog.c \
+ brasero-tool-dialog.h brasero-tool-dialog.c \
+ brasero-sum-dialog.h brasero-sum-dialog.c
-typelibsdir = $(INTROSPECTION_TYPELIBDIR)
-typelibs_DATA = BraseroBurn- TYPELIB_VERSION@.typelib
+BraseroBurn-3.0.gir: Makefile libbrasero-burn3.la
+BraseroBurn_3_0_gir_NAMESPACE = BraseroBurn
+BraseroBurn_3_0_gir_VERSION = 3.0
+BraseroBurn_3_0_gir_INCLUDES = Gtk-3.0
+BraseroBurn_3_0_gir_CFLAGS = $(AM_CPPFLAGS)
+BraseroBurn_3_0_gir_LIBS = libbrasero-burn3.la
+BraseroBurn_3_0_gir_FILES = $(introspected_source)
+BraseroBurn_3_0_gir_SCANNERFLAGS = --identifier-prefix=Brasero --symbol-prefix=brasero
-BraseroBurn- TYPELIB_VERSION@.gir: libbrasero-burn3.la $(INTROSPECTION_SCANNER)
- $(INTROSPECTION_SCANNER) -v --namespace=BraseroBurn --nsversion=1.0 \
- -I$(top_srcdir)/libbrasero-media \
- -I$(top_builddir)/libbrasero-media \
- -I$(top_srcdir)/libbrasero-burn \
- -I$(top_builddir)/libbrasero-burn \
- --include=Gtk-3.0 \
- --add-include-path=$(top_builddir)/libbrasero-media \
- --include=BraseroMedia- TYPELIB_VERSION@ \
- --library=brasero-burn3 \
- --libtool="$(LIBTOOL)" \
- --output $@ \
- --pkg=gtk+-3.0 \
- --strip-prefix=Brasero \
- $(top_srcdir)/libbrasero-burn/brasero-tags.h \
- $(top_srcdir)/libbrasero-burn/brasero-enums.h \
- $(top_srcdir)/libbrasero-burn/brasero-error.h \
- $(top_srcdir)/libbrasero-burn/brasero-status.h \
- $(top_builddir)/libbrasero-burn/brasero-burn-lib.h \
- $(top_srcdir)/libbrasero-burn/brasero-track-type.h \
- $(top_srcdir)/libbrasero-burn/brasero-track.h \
- $(top_srcdir)/libbrasero-burn/brasero-track-data.h \
- $(top_srcdir)/libbrasero-burn/brasero-track-data-cfg.h \
- $(top_srcdir)/libbrasero-burn/brasero-track-disc.h \
- $(top_srcdir)/libbrasero-burn/brasero-track-stream.h \
- $(top_srcdir)/libbrasero-burn/brasero-track-stream-cfg.h \
- $(top_srcdir)/libbrasero-burn/brasero-track-image.h \
- $(top_srcdir)/libbrasero-burn/brasero-track-image-cfg.h \
- $(top_srcdir)/libbrasero-burn/brasero-session.h \
- $(top_srcdir)/libbrasero-burn/brasero-session-span.h \
- $(top_srcdir)/libbrasero-burn/brasero-session-cfg.h \
- $(top_srcdir)/libbrasero-burn/brasero-burn.h \
- $(top_srcdir)/libbrasero-burn/brasero-burn-options.h \
- $(top_srcdir)/libbrasero-burn/brasero-burn-dialog.h \
- $(top_srcdir)/libbrasero-burn/brasero-tool-dialog.h \
- $(top_srcdir)/libbrasero-burn/brasero-sum-dialog.h \
- $(top_srcdir)/libbrasero-burn/*.c
+INTROSPECTION_GIRS += BraseroBurn-3.0.gir
+endif # HAVE_INTROSPECTION
-BraseroBurn- TYPELIB_VERSION@.typelib: $(gir_DATA) $(INTROSPECTION_COMPILER)
- $(INTROSPECTION_COMPILER) $(top_builddir)/libbrasero-burn/$(gir_DATA)
--shared-library=libbrasero-burn3 -o $(typelibs_DATA) --includedir=$(top_builddir)/libbrasero-media
-endif
+girdir = $(datadir)/gir-1.0
+nodist_gir_DATA = $(INTROSPECTION_GIRS)
-CLEANFILES = \
- $(RECMARSHALFILES) \
- $(gir_DATA) \
- $(typelibs_DATA)
+typelibdir = $(libdir)/girepository-1.0
+nodist_typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
+CLEANFILES += $(nodist_gir_DATA) $(nodist_typelib_DATA)
-include $(top_srcdir)/git.mk
diff --git a/libbrasero-media/Makefile.am b/libbrasero-media/Makefile.am
index 59213de..335571f 100644
--- a/libbrasero-media/Makefile.am
+++ b/libbrasero-media/Makefile.am
@@ -1,7 +1,8 @@
-
AM_CPPFLAGS = \
-I$(top_srcdir) \
+ -I$(top_srcdir)/libbrasero-media \
-I$(top_builddir) \
+ -I$(top_builddir)/libbrasero-media \
-DBRASERO_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
-DBRASERO_PREFIX=\"$(prefix)\" \
-DBRASERO_SYSCONFDIR=\"$(sysconfdir)\" \
@@ -10,37 +11,40 @@ AM_CPPFLAGS = \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED) \
$(BRASERO_GLIB_CFLAGS) \
- $(BRASERO_GMODULE_EXPORT_CFLAGS) \
+ $(BRASERO_GMODULE_EXPORT_CFLAGS) \
$(BRASERO_GIO_CFLAGS) \
$(BRASERO_GTK_CFLAGS)
GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
RECMARSHALFILES = libbrasero-marshal.h libbrasero-marshal.c
+CLEANFILES =
+EXTRA_DIST =
+
libbrasero-marshal.h: libbrasero-marshal.list
( $(GLIB_GENMARSHAL) --prefix=brasero_marshal $(srcdir)/libbrasero-marshal.list --header >
libbrasero-marshal.h )
libbrasero-marshal.c: libbrasero-marshal.h
( $(GLIB_GENMARSHAL) --prefix=brasero_marshal $(srcdir)/libbrasero-marshal.list --body --header >
libbrasero-marshal.c )
-headerdir=$(includedir)/brasero3
-header_HEADERS = brasero-drive.h \
- brasero-medium-monitor.h \
- brasero-media.h \
- brasero-units.h \
- brasero-medium.h \
- brasero-volume.h \
- brasero-medium-selection.h \
- brasero-drive-selection.h
-
-lib_LTLIBRARIES = \
- libbrasero-media3.la
-
-libbrasero_media3_la_LIBADD = \
- $(BRASERO_GLIB_LIBS) \
- $(BRASERO_GMODULE_EXPORT_LIBS) \
- $(BRASERO_GTHREAD_LIBS) \
- $(BRASERO_GIO_LIBS) \
- $(BRASERO_GTK_LIBS) \
+headerdir = $(includedir)/brasero3
+header_HEADERS = \
+ brasero-drive.h \
+ brasero-medium-monitor.h \
+ brasero-media.h \
+ brasero-units.h \
+ brasero-medium.h \
+ brasero-volume.h \
+ brasero-medium-selection.h \
+ brasero-drive-selection.h
+
+lib_LTLIBRARIES = libbrasero-media3.la
+
+libbrasero_media3_la_LIBADD = \
+ $(BRASERO_GLIB_LIBS) \
+ $(BRASERO_GMODULE_EXPORT_LIBS) \
+ $(BRASERO_GTHREAD_LIBS) \
+ $(BRASERO_GIO_LIBS) \
+ $(BRASERO_GTK_LIBS) \
$(BRASERO_SCSI_LIBS)
libbrasero_media3_la_LDFLAGS = \
@@ -53,81 +57,81 @@ libbrasero_media3_la_SOURCES = \
libbrasero-marshal.c \
libbrasero-marshal.h \
brasero-drive.h \
- brasero-medium-monitor.h \
+ brasero-medium-monitor.h \
brasero-media.h \
brasero-units.h \
- brasero-medium.h \
+ brasero-medium.h \
brasero-volume.h \
brasero-medium-selection.h \
- scsi-base.h \
- scsi-command.h \
- scsi-error.h \
- scsi-get-configuration.c \
- scsi-get-configuration.h \
- scsi-mmc1.h \
- scsi-mmc2.h \
- scsi-opcodes.h \
- scsi-read-disc-info.c \
- scsi-read-disc-info.h \
- scsi-read-toc-pma-atip.c \
- scsi-read-toc-pma-atip.h \
- scsi-sense-data.c \
- scsi-sense-data.h \
- scsi-utils.h \
- scsi-q-subchannel.h \
- scsi-error.c \
- scsi-read-track-information.c \
- scsi-read-track-information.h \
- scsi-get-performance.c \
- scsi-get-performance.h \
- scsi-mmc3.h \
- scsi-mode-pages.h \
- scsi-mode-sense.c \
- scsi-status-page.h \
- scsi-spc1.h \
- scsi-read-capacity.c \
- scsi-read-capacity.h \
- scsi-read-disc-structure.c \
- scsi-read-disc-structure.h \
- scsi-dvd-structures.h \
- scsi-read-format-capacities.c \
- scsi-read-format-capacities.h \
- scsi-read-cd.h \
- scsi-read-cd.c \
- scsi-device.h \
- scsi-mech-status.c \
- scsi-mech-status.h \
- scsi-write-page.h \
- scsi-mode-select.c \
- scsi-read10.c \
- scsi-sbc.h \
- scsi-test-unit-ready.c \
- brasero-media.c \
- brasero-medium-monitor.c \
- burn-susp.c \
- burn-susp.h \
- burn-iso-field.c \
- burn-iso-field.h \
- burn-iso9660.c \
- burn-iso9660.h \
- burn-volume-source.c \
- burn-volume-source.h \
- burn-volume.c \
- burn-volume.h \
- brasero-medium.c \
- brasero-volume.c \
- brasero-drive.c \
- brasero-medium-selection.c \
- brasero-units.c \
- brasero-drive-selection.c \
- brasero-drive-selection.h \
+ scsi-base.h \
+ scsi-command.h \
+ scsi-error.h \
+ scsi-get-configuration.c \
+ scsi-get-configuration.h \
+ scsi-mmc1.h \
+ scsi-mmc2.h \
+ scsi-opcodes.h \
+ scsi-read-disc-info.c \
+ scsi-read-disc-info.h \
+ scsi-read-toc-pma-atip.c \
+ scsi-read-toc-pma-atip.h \
+ scsi-sense-data.c \
+ scsi-sense-data.h \
+ scsi-utils.h \
+ scsi-q-subchannel.h \
+ scsi-error.c \
+ scsi-read-track-information.c \
+ scsi-read-track-information.h \
+ scsi-get-performance.c \
+ scsi-get-performance.h \
+ scsi-mmc3.h \
+ scsi-mode-pages.h \
+ scsi-mode-sense.c \
+ scsi-status-page.h \
+ scsi-spc1.h \
+ scsi-read-capacity.c \
+ scsi-read-capacity.h \
+ scsi-read-disc-structure.c \
+ scsi-read-disc-structure.h \
+ scsi-dvd-structures.h \
+ scsi-read-format-capacities.c \
+ scsi-read-format-capacities.h \
+ scsi-read-cd.h \
+ scsi-read-cd.c \
+ scsi-device.h \
+ scsi-mech-status.c \
+ scsi-mech-status.h \
+ scsi-write-page.h \
+ scsi-mode-select.c \
+ scsi-read10.c \
+ scsi-sbc.h \
+ scsi-test-unit-ready.c \
+ brasero-media.c \
+ brasero-medium-monitor.c \
+ burn-susp.c \
+ burn-susp.h \
+ burn-iso-field.c \
+ burn-iso-field.h \
+ burn-iso9660.c \
+ burn-iso9660.h \
+ burn-volume-source.c \
+ burn-volume-source.h \
+ burn-volume.c \
+ burn-volume.h \
+ brasero-medium.c \
+ brasero-volume.c \
+ brasero-drive.c \
+ brasero-medium-selection.c \
+ brasero-units.c \
+ brasero-drive-selection.c \
+ brasero-drive-selection.h \
brasero-media-private.h \
- brasero-medium-selection-priv.h \
+ brasero-medium-selection-priv.h \
brasero-gio-operation.h \
brasero-gio-operation.c \
- scsi-inquiry.c \
- scsi-prevent-allow-medium-removal.c \
- scsi-inquiry.h \
+ scsi-inquiry.c \
+ scsi-prevent-allow-medium-removal.c \
+ scsi-inquiry.h \
brasero-drive-priv.h
# FreeBSD's SCSI CAM interface
@@ -150,41 +154,54 @@ if HAVE_USCSI_H
libbrasero_media3_la_SOURCES += scsi-uscsi.c
endif
+include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ARGS = --warn-all
+
if HAVE_INTROSPECTION
-girdir = $(INTROSPECTION_GIRDIR)
-gir_DATA = BraseroMedia- TYPELIB_VERSION@.gir
-
-typelibsdir = $(INTROSPECTION_TYPELIBDIR)
-typelibs_DATA = BraseroMedia- TYPELIB_VERSION@.typelib
-
-BraseroMedia- TYPELIB_VERSION@.gir: libbrasero-media3.la $(INTROSPECTION_SCANNER)
- $(INTROSPECTION_SCANNER) -v --namespace=BraseroMedia --nsversion=1.0 \
- --include=Gtk-3.0 \
- -I$(top_srcdir)/libbrasero-media \
- --library=brasero-media3 \
- --libtool="$(LIBTOOL)" \
- --output $@ \
- --pkg=gtk+-3.0 \
- --strip-prefix=Brasero \
- $(top_srcdir)/libbrasero-media/brasero-drive.h \
- $(top_srcdir)/libbrasero-media/brasero-medium-monitor.h \
- $(top_builddir)/libbrasero-media/brasero-media.h \
- $(top_srcdir)/libbrasero-media/brasero-units.h \
- $(top_srcdir)/libbrasero-media/brasero-medium.h \
- $(top_srcdir)/libbrasero-media/brasero-volume.h \
- $(top_srcdir)/libbrasero-media/brasero-medium-selection.h \
- $(top_srcdir)/libbrasero-media/brasero-drive-selection.h \
- $(top_srcdir)/libbrasero-media/*.c
-
-BraseroMedia- TYPELIB_VERSION@.typelib: $(gir_DATA) $(INTROSPECTION_COMPILER)
- $(INTROSPECTION_COMPILER) $(top_builddir)/libbrasero-media/$(gir_DATA)
--shared-library=libbrasero-media3 -o $(typelibs_DATA)
-endif
+introspected_source = \
+ brasero-drive.h \
+ brasero-drive.c \
+ brasero-medium-monitor.h \
+ brasero-medium-monitor.c \
+ brasero-media.h \
+ brasero-media.c \
+ brasero-units.h \
+ brasero-units.c \
+ brasero-medium.h \
+ brasero-medium.c \
+ brasero-volume.h \
+ brasero-volume.c \
+ brasero-medium-selection.h \
+ brasero-medium-selection.c \
+ brasero-drive-selection.h \
+ brasero-drive-selection.c
+
+BraseroMedia-3.0.gir: Makefile libbrasero-media3.la
+BraseroMedia_3_0_gir_NAMESPACE = BraseroMedia
+BraseroMedia_3_0_gir_VERSION = 3.0
+BraseroMedia_3_0_gir_INCLUDES = Gtk-3.0
+BraseroMedia_3_0_gir_CFLAGS = $(AM_CPPFLAGS)
+BraseroMedia_3_0_gir_LIBS = libbrasero-media3.la
+BraseroMedia_3_0_gir_FILES = $(introspected_source)
+BraseroMedia_3_0_gir_SCANNERFLAGS = --identifier-prefix=Brasero --symbol-prefix=brasero
+
+INTROSPECTION_GIRS += BraseroMedia-3.0.gir
+endif # HAVE_INTROSPECTION
+
+girdir = $(datadir)/gir-1.0
+nodist_gir_DATA = $(INTROSPECTION_GIRS)
+
+typelibdir = $(libdir)/girepository-1.0
+nodist_typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
+
+CLEANFILES += $(nodist_gir_DATA) $(nodist_typelib_DATA)
-EXTRA_DIST = \
+EXTRA_DIST += \
libbrasero-marshal.list
# libbrasero-media.symbols
-CLEANFILES = \
+CLEANFILES += \
$(RECMARSHALFILES) \
$(gir_DATA) \
$(typelibs_DATA)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]