Pavel Hlavnicka wrote:
> As far as I know, the dollar sign have to be escaped as $$, so you need
> write something like
>
> sabcmd something.xsl something.xml output.xml $$parameter="xyz"
>
> HTH
>
> pavel
Thanks, that did the trick.
sabcmd something.xsl something.xml output.xml \$$parameter="xyz"
works and
thank you Derek Sayeau for your Out of Office Hours AutoReply,
AutoReplying to a mailing list, that really is quite funny!
>
> Mark McLaren wrote:
>
> > I've been trying to use Sablotron in a Makefile to automatically
> > generate XML files.
> >
> > I'm using GNU make.
> >
> > This is probably a Make question but how do I pass parameters into
> > Sablotron inside a Makefile?
> >
> > I usually use:
> >
> > sabcmd something.xsl something.xml output.xml \$parameter="xyz"
> >
> > This works fine from the shell. (It works fine in a shell script but
> > I must use a Makefile)
> >
> > Because of the "\$", the Makefile will not do anything sensible with it!
> >
> > Is there someway of escaping the $, I haven't had much luck with it so
> > far.
> >
> > Please help!
> >
> > Thanks,
> >
> > Mark
>
> --
> Pavel Hlavnicka
> Ginger Alliance Ltd.
> Prague; Czech Republic
--
Mark McLaren