build: Remove gir files from dist

The introspection data is going to be generated, so it should never be
in the dist.
This commit is contained in:
Emmanuele Bassi 2010-09-13 02:01:21 +01:00
parent 64924f0e98
commit c03458a861
3 changed files with 6 additions and 4 deletions

View File

@ -436,12 +436,12 @@ endif # SUPPORT_X11
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
# install anything - we need to install inside our prefix. # install anything - we need to install inside our prefix.
girdir = $(datadir)/gir-1.0 girdir = $(datadir)/gir-1.0
dist_gir_DATA = $(BUILT_GIRSOURCES) $(INTROSPECTION_GIRS) gir_DATA = $(BUILT_GIRSOURCES) $(INTROSPECTION_GIRS)
typelibsdir = $(libdir)/girepository-1.0/ typelibsdir = $(libdir)/girepository-1.0/
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) $(INTROSPECTION_GIRS:.gir=.typelib) typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES += $(dist_gir_DATA) $(typelibs_DATA) CLEANFILES += $(gir_DATA) $(typelibs_DATA)
endif # HAVE_INTROSPECTION endif # HAVE_INTROSPECTION
EXTRA_DIST += clutter-keysyms-update.pl EXTRA_DIST += clutter-keysyms-update.pl

View File

@ -295,7 +295,7 @@ Cogl_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = --warn-all --c-include='cogl/co
INTROSPECTION_GIRS += Cogl-@CLUTTER_API_VERSION@.gir INTROSPECTION_GIRS += Cogl-@CLUTTER_API_VERSION@.gir
girdir = $(datadir)/gir-1.0 girdir = $(datadir)/gir-1.0
dist_gir_DATA = $(INTROSPECTION_GIRS) gir_DATA = $(INTROSPECTION_GIRS)
CLEANFILES += $(INTROSPECTION_GIRS) CLEANFILES += $(INTROSPECTION_GIRS)
endif endif

View File

@ -62,6 +62,8 @@ ClutterJson_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
INTROSPECTION_GIRS += ClutterJson-@CLUTTER_API_VERSION@.gir INTROSPECTION_GIRS += ClutterJson-@CLUTTER_API_VERSION@.gir
girdir = $(datadir)/gir-1.0 girdir = $(datadir)/gir-1.0
dist_gir_DATA = $(INTROSPECTION_GIRS) gir_DATA = $(INTROSPECTION_GIRS)
CLEANFILES += $(INTROSPECTION_GIRS)
endif endif