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
"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-
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.
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