Re: pre- and post-compilation hooks

2008-11-25 Thread Ralf Wildenhues
* Baurzhan Ismagulov wrote on Tue, Nov 25, 2008 at 12:57:33PM CET: > On Tue, Nov 18, 2008 at 07:54:34PM +0100, Ralf Wildenhues wrote: > > > I suppose to fix TAGS you may need to rename EXTRA_maude_SOURCES to a > > macro name not specially recognized by automake. > > This does eliminate duplicates

Re: pre- and post-compilation hooks

2008-11-25 Thread Baurzhan Ismagulov
Hello Ralf, On Tue, Nov 18, 2008 at 07:54:34PM +0100, Ralf Wildenhues wrote: > > However, I would really like to avoid duplicating every source file in > > maude_SOURCES and EXTRA_maude_SOURCES (the necessity to write a custom > > make clean and duplicated TAGS entries being other minor points). >

Re: pre- and post-compilation hooks

2008-11-18 Thread Ralf Wildenhues
* Baurzhan Ismagulov wrote on Tue, Nov 18, 2008 at 04:22:38PM CET: > This does work: Good. > maude_SOURCES = maude/maude.processed.cpp > > EXTRA_maude_SOURCES = maude/maude.cpp > > .cpp.processed.cpp: > python $(top_srcdir)/myscript.py $< > mkdir -p `dirname [EMAIL PROTECTED] >

Re: pre- and post-compilation hooks

2008-11-18 Thread Baurzhan Ismagulov
On Thu, Nov 13, 2008 at 09:09:39PM +0100, Ralf Wildenhues wrote: > > > What are the input files? If they > > > have different suffixes than the compiler, you can just use a (suffix) > > > rule to do the preprocessing. Even if they have suffixes like .c, you > > > might be able to hack it by writi

Re: pre- and post-compilation hooks

2008-11-13 Thread Ralf Wildenhues
Hello Baurzhan, * Baurzhan Ismagulov wrote on Thu, Nov 13, 2008 at 11:10:47AM CET: > On Wed, Nov 12, 2008 at 09:34:22PM +0100, Ralf Wildenhues wrote: > > What are the input files? If they > > have different suffixes than the compiler, you can just use a (suffix) > > rule to do the preprocessing.

Re: pre- and post-compilation hooks

2008-11-13 Thread Baurzhan Ismagulov
Hello Ralf, It turned out I'm not subscribed to the list and have missed some interesting stuff like less verbose. On Wed, Nov 12, 2008 at 09:34:22PM +0100, Ralf Wildenhues wrote: > > I'd like to migrate a SNiFF+ project to automake. So far, it looks quite > > promising. Two issues: > > > > 1. T

Re: pre- and post-compilation hooks

2008-11-12 Thread Ralf Wildenhues
Hello Baurzhan, * Baurzhan Ismagulov wrote on Wed, Nov 12, 2008 at 05:37:58PM CET: > > I'd like to migrate a SNiFF+ project to automake. So far, it looks quite > promising. Two issues: > > 1. The compilation rule performs some custom pre-processing before >actually calling the compiler; if p

pre- and post-compilation hooks

2008-11-12 Thread Baurzhan Ismagulov
Hello, I'd like to migrate a SNiFF+ project to automake. So far, it looks quite promising. Two issues: 1. The compilation rule performs some custom pre-processing before actually calling the compiler; if pre-processing fails, the compiler is not called, and make is stopped. 2. The Tasking