Re: Python in Makefile Question. try A.A.P

2005-02-11 Thread Bart van Deenen
Another option would be to move from Makefiles to AAP, the build mechanism for vim. We did just that, and are very happy with it. Aap is python based, so the kind of question you have is very easily handled within the 'aap' file. http://www.a-a-p.org/ Aap has the advantage that you don't need to

Re: Python in Makefile Question

2005-02-11 Thread Efrat Regev
"Efrat Regev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I'd like to ask a question concerning a python script in a makefile. > ... Many thanks for the very useful (and very quick) answers! Efrat -- http://mail.python.org/mailman/listinfo/python-

Re: Python in Makefile Question

2005-02-11 Thread Daniel Dittmar
Efrat Regev wrote: 1. How can I get the python script to return a value to make, so that if it decides that there are convention violations make will fail? You can set the return code of your Python script through sys.exit (3) 2. How can I pass information from the makefile to the python script, e.

Re: Python in Makefile Question

2005-02-11 Thread Dan Bishop
Efrat Regev wrote: > Hello, > > I'd like to ask a question concerning a python script in a makefile. > Suppose I have a C++ project (sorry for raising this in a Python newsgroup), > with some makefile for it. Before compiling the code, I'd like to check that > there are no C++ convention violat