top_srcdir and subpackages

2005-09-06 Thread Harlan Stenn
I have 2 auto* packages, and one subdir (sntp/) is a subpackage of the parent. I'm using autoconf 2.59 and automake 1.9.6. I see this: [EMAIL PROTECTED]> grep '^top_srcdir' A.pogo/sntp/Makefile A.rackety/sntp/Makefile A.pogo/sntp/Makefile:top_srcdir = ../../sntp A.rackety/sntp/Makefile:top_srcdi

Re: Portable prefix pattern rules

2005-09-06 Thread Brian
Can't wait to try this out. Thanks Stepan! Brina On 9/6/05, Stepan Kasal <[EMAIL PROTECTED]> wrote: > > Hello, > > On Mon, Sep 05, 2005 at 02:29:26PM -0600, Brian wrote: > > The following doesn't seem to work: > > SUFFIXES = .moc.cpp > > .moc.cpp:.h > > $(MOC) -o $@ $< > > it's an explicit rul

Re: Portable prefix pattern rules

2005-09-06 Thread Stepan Kasal
Hello, On Mon, Sep 05, 2005 at 02:29:26PM -0600, Brian wrote: > The following doesn't seem to work: > SUFFIXES = .moc.cpp > .moc.cpp:.h > $(MOC) -o $@ $< it's an explicit rule, which creates file ".moc.cpp" from file ".h". You have to use this: SUFFIXES = .moc.cpp .h.moc.cpp: $(M