mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-22 08:57:17 -06:00
Fix python tests when building from tarball.
This commit is contained in:
parent
5da9e2f4c9
commit
70fe66c9fd
@ -109,18 +109,23 @@ sqlite3test_SOURCES = sqlite3test.c
|
||||
sqlite3test_LDADD = ${_gnucash_core_c_la_LIBADD}
|
||||
sqlite3test_CPPFLAGS = ${_gnucash_core_c_la_CPPFLAGS}
|
||||
|
||||
PYTHON_LINK_FILES = \
|
||||
$(pkgpyexec_DATA)
|
||||
PYTHON_GNUCASH_LINK_FILES = $(pkgpyexec_DATA)
|
||||
|
||||
if BUILDING_FROM_VCS
|
||||
PYTHON_LINK_FILES = $(filter-out gnucash_core_c.py,${pkgpyexec_DATA})
|
||||
else
|
||||
PYTHON_LINK_FILES = $(pkgpyexec_DATA)
|
||||
endif
|
||||
|
||||
.py-links:$(PYTHON_LINK_FILES)
|
||||
$(RM) -rf gnucash
|
||||
mkdir -p gnucash
|
||||
if GNUCASH_SEPARATE_BUILDDIR
|
||||
for X in $(filter-out gnucash_core_c.py,${PYTHON_LINK_FILES}) ; do \
|
||||
for X in ${PYTHON_LINK_FILES} ; do \
|
||||
$(LN_S) -f ${srcdir}/$$X . ; \
|
||||
done
|
||||
endif
|
||||
( cd gnucash; for file in $(PYTHON_LINK_FILES) ; do \
|
||||
( cd gnucash; for file in $(PYTHON_GNUCASH_LINK_FILES) ; do \
|
||||
$(LN_S) -f ../$$file .; \
|
||||
done )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user