gobject-introspection r570 - in trunk: . tests/scanner



Author: johan
Date: Mon Sep  1 13:45:56 2008
New Revision: 570
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=570&view=rev

Log:
2008-09-01  Johan Dahlin  <johan gnome org>

    * tests/scanner/Makefile.am:
    Set PYTHONPATH so the scanner can run
    even if you didn't install anything.



Modified:
   trunk/ChangeLog
   trunk/tests/scanner/Makefile.am

Modified: trunk/tests/scanner/Makefile.am
==============================================================================
--- trunk/tests/scanner/Makefile.am	(original)
+++ trunk/tests/scanner/Makefile.am	Mon Sep  1 13:45:56 2008
@@ -35,7 +35,7 @@
 EXTRA_DIST = $(EXPECTEDGIRS)
 
 %.gir: lib%.la %.c %.h utility.gir $(SCANNER) $(SCANNER_LIBS) Makefile
-	$(CHECK_DEBUG) $(SCANNER) -v \
+	PYTHONPATH=$(top_builddir):$$PYTHONPATH $(CHECK_DEBUG) $(SCANNER) -v \
 	--include=$(top_srcdir)/gir/GObject.gir \
 	--include=$(top_builddir)/tests/scanner/utility.gir \
 	--library=$* \
@@ -48,7 +48,7 @@
 GIRS += foo.gir
 
 utility.gir: libutility.la utility.h $(SCANNER) $(SCANNER_LIBS) Makefile
-	$(CHECK_DEBUG) $(SCANNER) -v \
+	PYTHONPATH=$(top_builddir):$$PYTHONPATH $(CHECK_DEBUG) $(SCANNER) -v \
 	--include=$(top_srcdir)/gir/GObject.gir \
 	--library=utility \
 	--namespace=utility \



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