[gobject-introspection] Move LPATH and $(CHECK_DEBUG) bits into $(SCANNER)



commit b2d26635b316549c4e95f777961b68ea59372f91
Author: Colin Walters <walters verbum org>
Date:   Sun Aug 16 23:43:37 2009 -0400

    Move LPATH and $(CHECK_DEBUG) bits into $(SCANNER)
    
    This allows us to consistently use $(SCANNER) as the first item
    which needs to work for $(AM_V_GEN).

 common.mk       |    2 +-
 gir/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/common.mk b/common.mk
index 6068e9c..de8333e 100644
--- a/common.mk
+++ b/common.mk
@@ -4,7 +4,7 @@ SCANNER_ENV = env PYTHONPATH=$(SCANNER_PYTHONPATH) \
 	UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
 	UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir)
 SCANNER_ARGS = -v --add-include-path=$(top_builddir)/gir --add-include-path=.
-SCANNER = $(AM_V_GEN) $(SCANNER_ENV) $(SCANNER_BIN) $(SCANNER_ARGS)
+SCANNER = $(AM_V_GEN) env LPATH=.libs $(CHECK_DEBUG) $(SCANNER_ENV) $(SCANNER_BIN) $(SCANNER_ARGS)
 SCANNER_LIBS = \
 	$(top_srcdir)/giscanner/*.py \
 	$(top_builddir)/giscanner/libgiscanner.la \
diff --git a/gir/Makefile.am b/gir/Makefile.am
index a82cd99..caffabd 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -184,7 +184,7 @@ libgirepository_everything_1_0_la_LDFLAGS += -no-undefined
 endif
 
 Everything-$(TYPELIB_VERSION).gir: libgirepository-everything-1.0.la everything.c everything.h $(SCANNER_BIN) $(SCANNER_LIBS)
-	LPATH=$(builddir)/.libs $(CHECK_DEBUG) $(SCANNER) \
+	$(SCANNER) \
 	--include=GObject-2.0 \
 	--libtool="$(LIBTOOL)" \
 	--library=girepository-everything-1.0 \



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