Re: %-style pattern rules

2007-08-08 Thread Lorenzo Bettini
Ralf Wildenhues wrote: However, I suspect I won't be able to adapt rules such as %.lang.texinfo: $(top_srcdir)/tests/%.lang will I? You can try playing with VPATH. But note that Automake uses VPATH for $(srcdir) so you may find it less error-prone to just put the %.lang files in $(srcdir).

Re: %-style pattern rules

2007-08-06 Thread Ralf Wildenhues
* Lorenzo Bettini wrote on Wed, Aug 01, 2007 at 05:58:43PM CEST: >>> >>> SUFFIXES = .cc.html .cs.html .h.html >>> >>> .cs.cs.html: >>> $(CSHARP2HTML) -i $< -o $@ >> > Andreas Schwab wrote: >> This is not a recognized suffix rule, you'll have to register the .cs >> suffix manually. > > opps... I

Re: %-style pattern rules

2007-08-01 Thread Lorenzo Bettini
Andreas Schwab wrote: Lorenzo Bettini <[EMAIL PROTECTED]> writes: Ralf Wildenhues wrote: Hello Lorenzo, * Lorenzo Bettini wrote on Fri, Jul 27, 2007 at 05:18:48PM CEST: and what if I need two files (with two different extensions) depend on a single file? That is not possible portably, i.e.,

Re: %-style pattern rules

2007-07-30 Thread Andreas Schwab
Lorenzo Bettini <[EMAIL PROTECTED]> writes: > Ralf Wildenhues wrote: >> Hello Lorenzo, >> >> * Lorenzo Bettini wrote on Fri, Jul 27, 2007 at 05:18:48PM CEST: >>> and what if I need two files (with two different extensions) depend on >>> a single file? >> >> That is not possible portably, i.e., wit

Re: %-style pattern rules

2007-07-30 Thread Lorenzo Bettini
Ralf Wildenhues wrote: Hello Lorenzo, * Lorenzo Bettini wrote on Fri, Jul 27, 2007 at 05:18:48PM CEST: and what if I need two files (with two different extensions) depend on a single file? That is not possible portably, i.e., with inference rules. So either you can just choose to rely on GNU

Re: %-style pattern rules

2007-07-27 Thread Ralf Wildenhues
Hello Lorenzo, * Lorenzo Bettini wrote on Fri, Jul 27, 2007 at 05:18:48PM CEST: > > and what if I need two files (with two different extensions) depend on a > single file? That is not possible portably, i.e., with inference rules. So either you can just choose to rely on GNU make, or write one

Re: %-style pattern rules

2007-07-27 Thread Lorenzo Bettini
BeN [F1233 121D312] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lorenzo Bettini wrote: about rules of the shape, e.g., %.txt: %.tt how else could I implement those make rules? I guess so called old-fashioned style of implicit rules would do: e.g: .SUFFIXES: .txt .tt all: t.txt

Re: %-style pattern rules

2007-07-26 Thread Benoit SIGOURE
On Jul 26, 2007, at 2:42 PM, BeN [F1233 121D312] wrote: Lorenzo Bettini wrote: about rules of the shape, e.g., %.txt: %.tt how else could I implement those make rules? I guess so called old-fashioned style of implicit rules would do: e.g: .SUFFIXES: .txt .tt all: t.txt .tt.txt: cp

Re: %-style pattern rules

2007-07-26 Thread Brian Dessent
Lorenzo Bettini wrote: > after upgrading to automake 1.10 I get these warnings > > Makefile.am:47: `%'-style pattern rules are a GNU make extension > > about rules of the shape, e.g., > > %.txt: %.tt > > how else could I implement those make rules? The warnin

Re: %-style pattern rules

2007-07-26 Thread BeN [F1233 121D312]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lorenzo Bettini wrote: > > about rules of the shape, e.g., > > %.txt: %.tt > > how else could I implement those make rules? > I guess so called old-fashioned style of implicit rules would do: e.g: .SUFFIXES: .txt .tt all: t.txt .tt.txt: cp -v

%-style pattern rules

2007-07-26 Thread Lorenzo Bettini
Hi after upgrading to automake 1.10 I get these warnings Makefile.am:47: `%'-style pattern rules are a GNU make extension about rules of the shape, e.g., %.txt: %.tt how else could I implement those make rules? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Sc