[gobject-introspection] Revert "build: Use $(srcdir) when calling Python scripts"



commit f167c42e4b4789f9a905f5ecbcd74410751909ce
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu May 4 23:12:38 2017 +0100

    Revert "build: Use $(srcdir) when calling Python scripts"
    
    This reverts commit b1200a87bc0bd4f4fcd5275f25422032104138ed.

 tests/offsets/Makefile.am |    2 +-
 tests/scanner/Makefile.am |    2 +-
 tests/warn/Makefile.am    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/offsets/Makefile.am b/tests/offsets/Makefile.am
index d17f491..0130ee5 100644
--- a/tests/offsets/Makefile.am
+++ b/tests/offsets/Makefile.am
@@ -39,7 +39,7 @@ gitestoffsets_CPPFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository -I$(top_s
 gitestoffsets_LDADD = $(top_builddir)/libgirepository-1.0.la $(GIREPO_LIBS)
 
 gitestoffsets.c: gen-gitestoffsets offsets.h Offsets-1.0.typelib
-       $(AM_V_GEN) $(PYTHON) $(srcdir)/gen-gitestoffsets offsets.h > $@ || ( rm -f $@ && false )
+       $(AM_V_GEN) $(PYTHON) gen-gitestoffsets offsets.h > $@ || ( rm -f $@ && false )
 
 EXTRA_DIST += gen-gitestoffsets
 BUILT_SOURCES += gitestoffsets.c
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am
index 6b705f5..6d5e0cf 100644
--- a/tests/scanner/Makefile.am
+++ b/tests/scanner/Makefile.am
@@ -184,7 +184,7 @@ CHECKGIRS += Identfilter-1.0.gir
 Identfilter-1.0.gir: identfilter.h
        $(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) \
                --namespace=Identfilter --accept-unprefixed --nsversion=1.0 --header-only \
-               --identifier-filter-cmd="$(PYTHON) $(srcdir)/identfilter.py" \
+               --identifier-filter-cmd="$(PYTHON) identfilter.py" \
                --output=$@ $<
 
 EXTRA_DIST += \
diff --git a/tests/warn/Makefile.am b/tests/warn/Makefile.am
index 5f47df0..f630784 100644
--- a/tests/warn/Makefile.am
+++ b/tests/warn/Makefile.am
@@ -22,6 +22,6 @@ TESTS = \
        unresolved-type.h
 
 LOG_COMPILER = env PYTHONPATH=$(top_builddir):$(top_srcdir) TOP_BUILDDIR=$(top_builddir) 
UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
-       $(PYTHON) $(srcdir)/warningtester.py
+       $(PYTHON) warningtester.py
 
 EXTRA_DIST = warningtester.py common.h $(TESTS)


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