On 26.04.06 Jochen Schulz ([email protected]) wrote: Hi Jochen,
https://bugs.debian.org/364942 Sorry for long response time! > First, thank you very much for writing and maintaining rubber. This is a > lifesaver for me. I already thought I would have to learn how to write > makefiles. :) > > Second, I think I found a problem with user-definded rules. But I may as > well do something wrong. I have a custom rules.ini which rubber tries to > use. It looks like this: > > |[gnuplot-tex] > |target = (.*)\.(tex|latex) > |source = \1.dat > |cost = 0 > |rule = shell > |command = gnuplot \1.plot; epstopdf \1.eps > |message = running gnuplot to plot data from $source as $target > > [This may look a little bit strange, but gnuplot produces an eps file > and a tex file in all my gnuplot scripts with the extension .plot. > Since I use pdftex, I have to convert the eps to pdf to be able to > \includegraphics{} it. I am not yet sure whether I may run two commands > separated by a ";", but I don't think this is related to my problem.] > As far as I understand rules in the "target" and the "source" statement one uses regex to define the file names. These are later reference in the "command" statement. So I would expect that target = (.*)\.pdf source = \1.dat command = gnuplot $source | epstopdf $target ...does the trick for you. Not sure if gnuplot can write to stdout. Maybe I completely got you wrong. A real minimal example including all source files and a description, which commands should be executed would be helpful. Regards, Hilmar -- sigmentation fault
signature.asc
Description: PGP signature

