automake
[Top][All Lists]
Advanced

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

Re: SWIG and Python support of Automake


From: Alex Hornby
Subject: Re: SWIG and Python support of Automake
Date: 15 Nov 2002 09:48:47 +0000

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

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