On Thu, 2002-11-14 at 19:18, Sebastian Huber wrote:
> 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
> 

Hi Sebasitian,

I think it should be BUILT_SOURCES, not BUILD_SOURCES.

Cheers,
Alex.




Reply via email to