gobject-introspection r894 - in trunk: . gir



Author: johan
Date: Wed Nov 12 12:48:02 2008
New Revision: 894
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=894&view=rev

Log:
2008-11-12  Johan Dahlin  <jdahlin async com br>

        * gir/Makefile.am:
        Remove unused variables, add a dependency of girepository.ch, so when
        they change we rebuild the gir automatically.



Modified:
   trunk/ChangeLog
   trunk/gir/Makefile.am

Modified: trunk/gir/Makefile.am
==============================================================================
--- trunk/gir/Makefile.am	(original)
+++ trunk/gir/Makefile.am	Wed Nov 12 12:48:02 2008
@@ -118,10 +118,11 @@
 EXTRA_DIST += gio-2.0.c
 
 # girepository
-GIREPOSITORY_INCLUDEDIR=`pkg-config --variable=includedir girepository-2.0`/glib-2.0
-GIREPOSITORY_LIBDIR=`pkg-config --variable=libdir girepository-2.0`
+GIREPOSITORY_FILES = \
+	$(top_srcdir)/girepository/girepository.c \
+	$(top_srcdir)/girepository/girepository.h
 
-GIRepository-2.0.gir: GObject-2.0.gir $(G_IR_SCANNER) $(G_IR_SCANNER_FILES)
+GIRepository-2.0.gir: GObject-2.0.gir $(G_IR_SCANNER) $(G_IR_SCANNER_FILES) $(GIREPOSITORY_FILES)
 	PYTHONPATH=$(G_IR_SCANNER_PYTHONPATH) $(G_IR_SCANNER) \
 	    -v --namespace GIRepository --nsversion=1.0\
 	    --add-include-path=. \
@@ -133,8 +134,7 @@
 	    -I$(srcdir)/girepository \
             --pkg glib-2.0 \
             --pkg gobject-2.0 \
-	    $(top_srcdir)/girepository/girepository.c \
-	    $(top_srcdir)/girepository/girepository.h
+	    $(GIREPOSITORY_FILES)
 BUILT_SOURCES += GIRepository-2.0.gir
 
 # Generic rules



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]