gir-repository r243 - trunk/gir
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gir-repository r243 - trunk/gir
- Date: Tue, 25 Nov 2008 23:42:01 +0000 (UTC)
Author: johan
Date: Tue Nov 25 23:42:01 2008
New Revision: 243
URL: http://svn.gnome.org/viewvc/gir-repository?rev=243&view=rev
Log:
Attempt to make distcheck pass
Modified:
trunk/gir/Makefile.am
Modified: trunk/gir/Makefile.am
==============================================================================
--- trunk/gir/Makefile.am (original)
+++ trunk/gir/Makefile.am Tue Nov 25 23:42:01 2008
@@ -12,33 +12,33 @@
XPATH_TESTS =
if BUILD_DBUS
-CUSTOM_GIRSOURCES += DBus-1.0.gir
+CUSTOM_GIRSOURCES += $(srcdir)/DBus-1.0.gir
endif
if BUILD_AVAHI
-CUSTOM_GIRSOURCES += AvahiCore-0.6.gir
+CUSTOM_GIRSOURCES += $(srcdir)/AvahiCore-0.6.gir
endif
if BUILD_LIBXML
-CUSTOM_GIRSOURCES += libxml2-2.0.gir
+CUSTOM_GIRSOURCES += $(srcdir)/libxml2-2.0.gir
endif
if BUILD_GL
-CUSTOM_GIRSOURCES += GL-1.0.gir
+CUSTOM_GIRSOURCES += $(srcdir)/GL-1.0.gir
endif
if BUILD_MISSIONCONTROL
-CUSTOM_GIRSOURCES += DBusGLib-1.0.gir \
- TelepathyGLib.gir \
- LibTelepathy.gir
+CUSTOM_GIRSOURCES += $(srcdir)/DBusGLib-1.0.gir \
+ $(srcdir)/TelepathyGLib.gir \
+ $(srcdir)/LibTelepathy.gir
endif
if BUILD_XFT
-CUSTOM_GIRSOURCES += xft-2.0.gir xlib-2.0.gir
+CUSTOM_GIRSOURCES += $(srcdir)/xft-2.0.gir $(srcdir)/xlib-2.0.gir
endif
if BUILD_XFIXES
-CUSTOM_GIRSOURCES += xfixes-4.0.gir xfixes-4.0.gir
+CUSTOM_GIRSOURCES += $(srcdir)/xfixes-4.0.gir $(srcdir)/xfixes-4.0.gir
endif
if BUILD_GCONF
@@ -108,7 +108,7 @@
$(PANGO_INCLUDEDIR)/pango/pango-*.h
BUILT_GIRSOURCES += Pango-1.0.gir
-PangoFT2-1.0.gir: fontconfig-2.0.gir freetype2-2.0.gir Pango-1.0.gir $(G_IR_SCANNER)
+PangoFT2-1.0.gir: $(srcdir)/fontconfig-2.0.gir $(srcdir)/freetype2-2.0.gir Pango-1.0.gir $(G_IR_SCANNER)
$(G_IR_SCANNER) -v --namespace PangoFT2 --nsversion=1.0 \
--add-include-path=$(srcdir) --add-include-path=. \
--include=GObject-2.0 \
@@ -143,7 +143,7 @@
BUILT_GIRSOURCES += PangoCairo-1.0.gir
if BUILD_PANGOXFT
-PangoXft-1.0.gir: fontconfig-2.0.gir xft-2.0.gir xlib-2.0.gir Pango-1.0.gir PangoFT2-1.0.gir $(G_IR_SCANNER)
+PangoXft-1.0.gir: $(srcdir)/fontconfig-2.0.gir $(srcdir)/xft-2.0.gir $(srcdir)/xlib-2.0.gir Pango-1.0.gir PangoFT2-1.0.gir $(G_IR_SCANNER)
$(G_IR_SCANNER) -v --namespace PangoXft --nsversion=1.0 \
--add-include-path=$(srcdir) --add-include-path=. \
--include=GObject-2.0 \
@@ -161,7 +161,7 @@
$(PANGO_INCLUDEDIR)/pango/pangoxft-render.h
BUILT_GIRSOURCES += PangoXft-1.0.gir
-PangoX-1.0.gir: xlib-2.0.gir Pango-1.0.gir $(G_IR_SCANNER)
+PangoX-1.0.gir: $(srcdir)/xlib-2.0.gir Pango-1.0.gir $(G_IR_SCANNER)
$(G_IR_SCANNER) -v --namespace PangoX --nsversion=1.0 \
--add-include-path=$(srcdir) --add-include-path=. \
--include=GObject-2.0 \
@@ -321,7 +321,7 @@
# webkit
if BUILD_WEBKIT
WEBKIT_INCLUDEDIR=`pkg-config --variable=includedir webkit-1.0`
-WebKit-1.0.gir: JSCore-1.0.gir Gtk-2.0.gir $(G_IR_SCANNER)
+WebKit-1.0.gir: $(srcdir)/JSCore-1.0.gir Gtk-2.0.gir $(G_IR_SCANNER)
$(DEBUG) $(G_IR_SCANNER) -v --namespace WebKit --nsversion=1.0 \
--add-include-path=$(srcdir) --add-include-path=. \
--include=GObject-2.0 \
@@ -336,14 +336,14 @@
-I$(WEBKIT_INCLUDEDIR) \
$(WEBKIT_INCLUDEDIR)/webkit-1.0/webkit/*.h
BUILT_GIRSOURCES += WebKit-1.0.gir
-CUSTOM_GIRSOURCES += JSCore-1.0.gir
+CUSTOM_GIRSOURCES += $(srcdir)/JSCore-1.0.gir
XPATH_TESTS += WebKit-1.0.xpath
endif BUILD_WEBKIT
# libnotify
if BUILD_NOTIFY
NOTIFY_INCLUDEDIR=`pkg-config --variable=includedir libnotify`
-Notify-0.4.gir: $(G_IR_SCANNER)
+Notify-0.4.gir: $(G_IR_SCANNER) Gtk-2.0.gir
$(G_IR_SCANNER) -v --namespace Notify --nsversion=0.4 \
--add-include-path=$(srcdir) --add-include-path=. \
--include=Gtk-2.0 \
@@ -505,7 +505,7 @@
# GStreamer
if BUILD_GSTREAMER
GST_INCLUDEDIR=`pkg-config --variable=includedir gstreamer-0.10`
-Gst-0.10.gir: libxml2-2.0.gir $(G_IR_SCANNER)
+Gst-0.10.gir: $(srcdir)/libxml2-2.0.gir $(G_IR_SCANNER)
$(DEBUG) $(G_IR_SCANNER) -v --namespace Gst --nsversion=0.10 \
--add-include-path=$(srcdir) --add-include-path=. \
--include=GObject-2.0 \
@@ -843,7 +843,7 @@
if BUILD_GUPNP
GUPNP_INCLUDEDIR=`pkg-config --variable=includedir gupnp-1.0`/gupnp-1.0
-Gupnp-1.0.gir: libxml2-2.0.gir GSSDP-1.0.gir Soup-2.0.gir $(G_IR_SCANNER)
+Gupnp-1.0.gir: $(srcdir)/libxml2-2.0.gir GSSDP-1.0.gir Soup-2.0.gir $(G_IR_SCANNER)
$(G_IR_SCANNER) -v --namespace Gupnp --nsversion=1.0 \
--add-include-path=$(srcdir) --add-include-path=. \
--include=GObject-2.0 \
@@ -862,7 +862,7 @@
if BUILD_AVAHI
AVAHI_INCLUDEDIR=`pkg-config --variable=includedir avahi-gobject`/avahi-gobject
-Avahi-0.6.gir: AvahiCore-0.6.gir $(G_IR_SCANNER)
+Avahi-0.6.gir: $(srcdir)/AvahiCore-0.6.gir $(G_IR_SCANNER)
$(G_IR_SCANNER) -v --namespace Avahi --nsversion=0.6 \
--strip-prefix=Ga \
--add-include-path=$(srcdir) --add-include-path=. \
@@ -875,7 +875,7 @@
-I$(AVAHI_INCLUDEDIR) \
$(AVAHI_INCLUDEDIR)/*.h
BUILT_GIRSOURCES += Avahi-0.6.gir
-CUSTOM_GIRSOURCES += AvahiCore-0.6.gir
+CUSTOM_GIRSOURCES += $(srcdir)/AvahiCore-0.6.gir
endif BUILD_AVAHI
if BUILD_BABL
@@ -959,16 +959,17 @@
$(G_IR_SCANNER) --xpath-assertions=$(srcdir)/$*.xpath $*.gir
%.typelib: %.gir $(G_IR_COMPILER)
- $(DEBUG) $(G_IR_COMPILER) --includedir=$(srcdir) --includedir=. $(G_IR_COMPILER_OPTS) $< -o $@
+ $(DEBUG) $(G_IR_COMPILER) --includedir=$(srcdir) --includedir=. $(G_IR_COMPILER_OPTS) $< -o $(builddir)/$(@F)
%.typelib.gdb: %.gir
- libtool --mode=execute gdb --args $(G_IR_COMPILER) $< -o $@
+ libtool --mode=execute gdb --args $(G_IR_COMPILER) $< -o $(@F)
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA:.typelib=.typelib.xml) $(typelibs_DATA:.typelib=.typelib.xml.typelib)
check-local: $(typelibs_DATA) $(XPATH_TESTS:.xpath=.xpath.test)
@failed=; for x in $(typelibs_DATA); do \
- echo 1>&2 "$(DEBUG) $(G_IR_GENERATE) --includedir=. $${x} > $${x}.tmp && mv $${x}.tmp $${x}.xml;"; \
+ x=$(builddir)/`basename $${x}`; \
+ echo 1>&2 "$(DEBUG) $(G_IR_GENERATE) --includedir=$(builddir) --includedir=$(srcdir) $${x} > $${x}.tmp && mv $${x}.tmp $${x}.xml;"; \
$(DEBUG) $(G_IR_GENERATE) --includedir=. $${x} > $${x}.tmp && mv $${x}.tmp $${x}.xml || failed="$${failed} $${x}"; \
done; \
test -z "$${failed}" || { \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]