summaryrefslogtreecommitdiff
path: root/gi/repository
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:45:08 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:45:11 +0900
commitacd1a4731ee2dfd6bc09e0449094bc738ac6f939 (patch)
tree6ddf79b53514c06de41ff52247c080f6db49b03f /gi/repository
parent55e9ab1b728021859bb9ef5d5f27049c530d880e (diff)
downloadpygobject2-acd1a4731ee2dfd6bc09e0449094bc738ac6f939.tar.gz
pygobject2-acd1a4731ee2dfd6bc09e0449094bc738ac6f939.tar.bz2
pygobject2-acd1a4731ee2dfd6bc09e0449094bc738ac6f939.zip
Imported Upstream version 3.2.1
Change-Id: I4de394b259e3dd06791eb9dfe3684a30dfeef7aa Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'gi/repository')
-rw-r--r--gi/repository/Makefile.am11
-rw-r--r--gi/repository/Makefile.in33
2 files changed, 33 insertions, 11 deletions
diff --git a/gi/repository/Makefile.am b/gi/repository/Makefile.am
index 9326dc3..27d5e81 100644
--- a/gi/repository/Makefile.am
+++ b/gi/repository/Makefile.am
@@ -4,4 +4,15 @@ pygirepository_PYTHON = \
__init__.py
+# if we build in a separate tree, we need to symlink the *.py files from the
+# source tree; Python does not accept the extensions and modules in different
+# paths
+build_pylinks:
+ for f in $(pygirepository_PYTHON); do \
+ [ -e $(builddir)/$$f ] || $(LN_S) $(srcdir)/$$f $(builddir)/$$f; \
+ done
+
+all-local: build_pylinks
+check-local: build_pylinks
+
-include $(top_srcdir)/git.mk
diff --git a/gi/repository/Makefile.in b/gi/repository/Makefile.in
index 6478ded..e787f57 100644
--- a/gi/repository/Makefile.in
+++ b/gi/repository/Makefile.in
@@ -147,7 +147,6 @@ LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
-MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
NM = @NM@
NMEDIT = @NMEDIT@
@@ -192,7 +191,6 @@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
@@ -225,6 +223,7 @@ libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
+lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
@@ -360,8 +359,9 @@ distdir: $(DISTFILES)
fi; \
done
check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-local
check: check-am
-all-am: Makefile
+all-am: Makefile all-local
installdirs:
for dir in "$(DESTDIR)$(pygirepositorydir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
@@ -462,15 +462,15 @@ ps-am:
uninstall-am: uninstall-pygirepositoryPYTHON
-.MAKE: install-am install-strip
+.MAKE: check-am install-am install-strip
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
- distclean distclean-generic distclean-libtool distdir dvi \
- dvi-am html html-am info info-am install install-am \
- install-data install-data-am install-dvi install-dvi-am \
- install-exec install-exec-am install-html install-html-am \
- install-info install-info-am install-man install-pdf \
- install-pdf-am install-ps install-ps-am \
+.PHONY: all all-am all-local check check-am check-local clean \
+ clean-generic clean-libtool distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
install-pygirepositoryPYTHON install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
@@ -478,6 +478,17 @@ uninstall-am: uninstall-pygirepositoryPYTHON
uninstall-pygirepositoryPYTHON
+# if we build in a separate tree, we need to symlink the *.py files from the
+# source tree; Python does not accept the extensions and modules in different
+# paths
+build_pylinks:
+ for f in $(pygirepository_PYTHON); do \
+ [ -e $(builddir)/$$f ] || $(LN_S) $(srcdir)/$$f $(builddir)/$$f; \
+ done
+
+all-local: build_pylinks
+check-local: build_pylinks
+
-include $(top_srcdir)/git.mk
# Tell versions [3.59,3.63) of GNU make to not export all variables.