[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] out-of-tree build, python bindings

From: Peter Samuelson <peter_at_p12n.org>
Date: Fri, 20 Jun 2008 00:00:55 -0500

[[[
* Makefile.in
  (copy-swig-py): Copy the SWIG-generated .py files from the build
    dir, not the source dir. And don't bother copying __init__.py from
    the source dir, just 'touch' it.

Patch by: Peter Samuelson <peter_at_p12n.org>
]]]

--- a/Makefile.in
+++ b/Makefile.in
@@ -680,7 +680,8 @@
         mkdir $(SWIG_PY_DIR)/libsvn
 
 copy-swig-py: autogen-swig-py $(SWIG_PY_DIR)/libsvn
- @cp -pf $(SWIG_PY_SRC_DIR)/*.py $(SWIG_PY_DIR)/libsvn
+ @cp -pf $(SWIG_PY_DIR)/*.py $(SWIG_PY_DIR)/libsvn
+ @touch $(SWIG_PY_DIR)/libsvn/__init__.py
 
 swig-py: autogen-swig-py copy-swig-py
 

Received on 2008-06-20 07:01:26 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.