automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SWIG and Python support of Automake


From: Sebastian Huber
Subject: SWIG and Python support of Automake
Date: Thu, 14 Nov 2002 20:18:49 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]