[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pattern rules

From: Ralf Hemmecke
Subject: pattern rules
Date: Wed, 26 Mar 2008 10:49:35 +0100
User-agent: Thunderbird (X11/20080213)


pattern rules are forbidden by automake, but I have the following problem.

My source files have the form *.someext.nw and I have two rules to generate two files from that. (Its a literate noweb file and one generates a code file and a .tex file from it.)

I'd like to have the rules

%.nw.tex: %.nw
        noweave $< > $@

%.someext: %.someext.nw
        notangle $< > $@

I cannot think of anything reasonable to transform that into suffix rules. Do you have some hints.


Interestingly, I have


in my and Automake doesn't complain if I put pattern rules inside Is this a bug or a feature?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]