* 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 didn't know that, I thought the rightmost extension would have > done. > > Now it works
Well, suffixes containing slashes or periods (other than the leading one) are not covered by POSIX make; I don't know which make implementations need this restriction though. > 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). Hope that helps. Cheers, Ralf