This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SWIG and Python support of Automake


Hello,
SWIG generates a Python module for me. This works fine with Automake 1.7 
except that a 'make distcheck' fails:

No files given to ../config/py-compile
make[2]: *** [install-nodist_pythonPYTHON] Error 1

I suppose this is because the generated Python file is in the build directory 
and not in the source directory. I tried:

BUILD_SOURCES = MDIS.py
pythondir = $(libdir)
nodist_python_PYTHON = MDIS.py

and

pythondir = $(libdir)
nodist_python_PYTHON = $(top_builddir)/MDIS.py

with no success. Does anyone know a way to avoid this error?

Bye



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]