r22237 - gnucash/trunk/src/optional/python-bindings - Make python bindings build when using a separate build directory.

Mike Alexander mta at code.gnucash.org
Sat Jun 23 23:09:33 EDT 2012


Author: mta
Date: 2012-06-23 23:09:33 -0400 (Sat, 23 Jun 2012)
New Revision: 22237
Trac: http://svn.gnucash.org/trac/changeset/22237

Modified:
   gnucash/trunk/src/optional/python-bindings/Makefile.am
Log:
Make python bindings build when using a separate build directory.
Don't symlink a (possibly non-existant) file from the source
tree on top of gnucash_core_c.py which was just generated by
swig in the build tree.

Modified: gnucash/trunk/src/optional/python-bindings/Makefile.am
===================================================================
--- gnucash/trunk/src/optional/python-bindings/Makefile.am	2012-06-24 02:58:01 UTC (rev 22236)
+++ gnucash/trunk/src/optional/python-bindings/Makefile.am	2012-06-24 03:09:33 UTC (rev 22237)
@@ -109,7 +109,7 @@
 	$(RM) -rf gnucash
 	mkdir -p gnucash
 if GNUCASH_SEPARATE_BUILDDIR
-	for X in ${PYTHON_LINK_FILES} ; do \
+	for X in $(filter-out gnucash_core_c.py,${PYTHON_LINK_FILES}) ; do \
 	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif



More information about the gnucash-changes mailing list